Re: How to learn c++?
Learning C++ is a time consuming activity. I would recommend looking into buying Sams: Teach yourself C++ in 21 days. It provides a good overall guide to the syntax of the language.
Once you can comfortably compile and write your own programs in C++ then the next job is to start learning the different libraries, there are thousands of them and a lot of them repeat themselves but you should try and get to grips with a few of the more well used ones e.g. Input/Output, File Handling, Math, Time etc.
After that, it is just a case of using what you know and finding development libraries to build upon a few examples are SDL for simple 2d applications and Direct X/OpenGL for 3d applications. There is also the windows API for window applications although most developers tend to use an IDE for creating window programs.
I would suggest forgetting C and learning C++. If you have never programmed before then perhaps aim to start of really slow and just get a good grip of Hello World programs. If you have some experiance in programming then spend a little time learning the new syntax and jump into the object orientation fun that is C++.
Jamie
|