Quote:
Originally posted by Fake Alias
I have a slightly different question. I have never programmed much (besides web design) and I want to learn C++. Where should I start, what is the first things I need to know and whats the quickest way to get started?
|
The quickest way to get started is to just sit down and work on something. There are so many types of things you could write. You may try to start on a native Windows app, but you'll probably want to get the basics down (pointers, classes, overall structure and logic).
A couple of projects that we used when I was a TA for a C++ class are a student database (where you can add, remove, and lookup students), and a small MUD (Multi-User Dungeon) game. The latter is a bit tough for a first project, but work your way toward something, step-by-step.
The first thing I would research are pointers. Write a simple C program that uses pointers. I'll give a quick intro here. A pointer variable (something like int *var or char *var) just points to an area in memory, e.g. another variable. This is a very important thing that you need to get the grasp of pretty much immediately. It will look confusing, but it's really not. It just takes some learning and getting used to. Remember that a "pointer" just points to something. Oh, and when you allocate memory, free it
