Where to start?

Status
Not open for further replies.

CHRYSt

Smack-Fu Master, in training
63
I'm looking for some advice....

I've been trying to teach myself to program C++ for some time now. I'd really love to be able to write little applications for all these nifty ideas I have. The problem is that I can't seem to figure out where to start.
Several years ago, my work sent me to an MCSD training course to learn VB. They dropped the project, and I never got to use it. What little I retain from it are concepts like OO, inheritance, variables, etc. Just programming concepts that seem to apply to most languages.

So I bought a couple "Teach yourself C++" books. These books seem to concentrate on the things I already know. Techniques and concepts. (Not that a refresher is a bad thing) But I sit down to use my 1337 new knowledge, and nothing happens. I get a great plan for a small app, "I'll make this little interface, and a class here, and a function there, and it'll be nifty!" and I find myself hunting google for help on writing even basic stuff.

Ok, so writing from scratch is above my head. Understandable. So I go looking for a simple app to hack some new feature into. I get it, and while I can read and mostly understand what the code is doing, I can't seem to figure out what I need to do to hack my new feature into it.

What all the above stuff is basically asking is this: How do I learn to be a C++ developer? I know the concepts, but I don't know how to apply those to the real world. How does one make that leap?
 
One of the best ways is to take a course on programming C++.

Otherwise to eliviate the current problem try this:
Think of a really small project. (don't touch your computer)
Grab some paper and a pen and start by making some little boxes and put words in them (for what they do), then connect them in a organized fasion.
Grab another sheet of paper, label it at the top the same as the label in one of the boxes before.. write/draw how it works. Repeat until you've designed each box.

Now comes the fun part!!!
Take each sheet of paper, make it into it's own .cpp/.h file.
Write Code/Comment/Test/Make notes.

-----------------------------
Most 'Hackers' start programming in the 'sit down and just code' method. For alot of first time programmers it starts that way but you end up with messy unstructured code. If you take the time to plan and develop your projects now, and do it consistantly. After a while you can just do it in your head, and sit down and code.
 
Status
Not open for further replies.