473,660 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New Programmer looking for Ideas

Hello All,

I just recently started programming with C++, and I have to say it's a
lot of fun. However, I've only ever programmed examples from books or
slight modifications of those examples. So, the point of this post is
to ask:

What kind of things do you program with your knowledge of C++? What is
the most creative C++ program you've ever written? And, what other fun
things can I do with this great language?

Your input is greatly appreciated! I'm excited to have begun the
learning process, and am ready to start doing some interesting things
with it!

Thanks
Dylan

Oct 20 '07 #1
4 2247
dy********@gmai l.com wrote:
Hello All,

I just recently started programming with C++, and I have to say it's a
lot of fun. However, I've only ever programmed examples from books or
slight modifications of those examples. So, the point of this post is
to ask:

What kind of things do you program with your knowledge of C++? What is
the most creative C++ program you've ever written? And, what other fun
things can I do with this great language?
What do you think of this question ?

a) Write a template class that counts the number of set bits in a
constant and provides a constant for any integer type.

template <typename T, T val>
struct NumBitsSet
{
enum { m_value = ***** }; //what goes where the ***** is?
};
>
Your input is greatly appreciated! I'm excited to have begun the
learning process, and am ready to start doing some interesting things
with it!

Thanks
Dylan
Oct 21 '07 #2
dy********@gmai l.com wrote:
Hello All,

I just recently started programming with C++, and I have to say it's a
lot of fun. However, I've only ever programmed examples from books or
slight modifications of those examples. So, the point of this post is
to ask:

What kind of things do you program with your knowledge of C++? What is
the most creative C++ program you've ever written? And, what other fun
things can I do with this great language?
I've found that creating your own versions of things in the standard
library is instructive and illuminating. Create your own self-managing
vector class, for example, with the functionality of the vector in the
standard template library, and then compare yours to the standard to see
how the standard did things differently and where you chose the same method.

'Chops

Oct 21 '07 #3
On 2007-10-20 18:28:47 -0400, dy********@gmai l.com said:
Hello All,

I just recently started programming with C++, and I have to say it's a
lot of fun. However, I've only ever programmed examples from books or
slight modifications of those examples. So, the point of this post is
to ask:

What kind of things do you program with your knowledge of C++? What is
the most creative C++ program you've ever written? And, what other fun
things can I do with this great language?

Your input is greatly appreciated! I'm excited to have begun the
learning process, and am ready to start doing some interesting things
with it!

Thanks
Dylan
Someone told me once that not until you've written a C++ compiler (or
at least the parser) yourself, can you say that you've fully mastered
the language.

So, go and write a C++ compiler in C++.

--

-kira

Oct 21 '07 #4
On Oct 20, 5:28 pm, dylan.r...@gmai l.com wrote:
Hello All,

I just recently started programming with C++, and I have to say it's a
lot of fun. However, I've only ever programmed examples from books or
slight modifications of those examples. So, the point of this post is
to ask:

What kind of things do you program with your knowledge of C++? What is
the most creative C++ program you've ever written? And, what other fun
things can I do with this great language?

Your input is greatly appreciated! I'm excited to have begun the
learning process, and am ready to start doing some interesting things
with it!

Thanks

Dylan
C++ is just a tool. What kinds of things you write with it would
depend on your interest. You will find that most commercial
programming requires a mastery of some 3rd party library in addition
to mastery of the language. Not only that, but it requires some
experience in a specific domain, such as networking, databases, 3D
graphics, artificial intelligence, business, etc. So the first step
in, my opinon, is to ask yourself, what field you want to enter using C
++ then start some demo projects in that field.

As for myself, I started off wanting to make games, like any crazy
teenager (at the time). Since then, I found that I would have to
concentrate on specific aspects of games and decided upon 3d graphics,
which led me to using the DirectX API. My hobby projects consisted of
small demos that tested my knowledge of that API, such as displaying
spinning triangles, creating and loading models, object picking, and
finally the beginnings of my own gaphics engine etc.

I branched out some to enhance my resume and started doing little
demos on things such as
writing a C++ app to log and calc my paychecks using a mysql database
writing a C++ app that dynamically produced html from text articles I
wrote
writing a C++ app for an online chat client
writing a C++ app to create and edit 3d terrain
writing a C++ library for networking, including reliable UDP
writing a C++ app to piss off my friend who promised to pay me for
fixing his computer, that ran an endless loop at startup of windows
and displayed "Pay me now asshat!" across his screen in bouncing
letters.
etc.

Then came the intrusion of real life. I lost time to work and only
return to my hobby projects occasionally.
Although I haven't landed a job in 3D graphics and doubt I am
knowledgable enough to do so yet. These little hobby projects really
made a differance in finding jobs, if serving no other purpose than to
demonstrate the ability to write C++ code with readability and
understanding, and to research topics on ones own.

It all boils down to what interests you.

Oct 21 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

45
16872
by: Market Mutant | last post by:
I just wonder job selections, job openings and salary level of PHP programer or Perl programmer comparing to Java programmers. Is Java programmer's salary has a minimal of 60K in US? Are there many PHP jobs?
1
1508
by: James | last post by:
Looking for experienced and resourceful web developer / programmer for following project: Or if anyone knows of a company that specialises in this sort of thing would be grateful if you could let me know! Need creation/production of an accurate scalable map of UK with a programmed invisible National Grid layer allowing us to accurately position simple icons on the map automatically using national grid references from database. ...
1
2443
by: Angie | last post by:
Hello, My name is Angela Mastrodonato. I'm a web designer who would like the assistance of a php programmer. Some of my clients have requested more dynamic web sites, and I am in the beginning phases of learning php. When it comes to common services, such as shopping carts, I have found ways to modify existing scripts. However, I have been getting requests for services that seem specific, and require a more customized approach than...
14
2675
by: Daniel Chartier | last post by:
Hello. I work in the paper industry and we recently had someone (the original author) from within the company make a program for preventive maintenance. However, it had some bugs and we wanted to add stuff to it, bu tthe original author/programmer was leaving, so we called in a free agent programmer. The free agent spoke with the original programmer and myself for a day. He fixed afew bugs. For the other bugs and the many...
15
10534
by: Randall Smith | last post by:
I've been programming in Python for about 2 years. I think it offers the best combination of simplicity and power of any language I have explored. As I write more and larger and complex programs, I need to code better. By better I mean clearer, cleaner, more efficient and maintainable. As the subject states, I want to become a really good Python programmer. I learn most everything from random examples and experience and that's good,...
12
1983
by: a | last post by:
Hi there, I am looking for a Python/PHP programmer with over 6 years of experience to develop applications in a UNIX (open source) environment. The products are DB backed web applications and the skills should include in-depth knowledge of HTML (actual coding and not wysiwug) and cascade style sheets. The application is commercial/corporate server application and the project
40
2735
by: Visionary | last post by:
Greetings, I'm the webmaster/team lead at avlabsdesign.com, and I'm currently on the hunt for a PHP programmer to join the team. I've been spreading myself quite thin lately, and aside from that I enjoy having a good solid team to work with. If you're at all interested, send an email to team@avlabsdesign.com with reference to your skill level and any projects you may have worked on. I should note that this is not a paid position,...
0
1913
by: Rog | last post by:
Who am I?: Hi I am a 'one-man-show' and mainly in the ecommerce and community business based in Western Europe. With over 13 years experience in the internet and telecommunication business, I am very strong focused on the adult site. The last 4 years I have been working as well with 2 programmers where we have covered quiet interesting fields like ecommerce, community building, sms-payment, premium-rated numbers
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8542
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7362
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.