What are some good online guides and whatnot for learning C++?
On a related note, what are some good free C++ compilers.
>>2
g++
cplusplus.com
On a related note, does anyone know of a "learn C++ for programmers" books? I've done programming in other languages, I'm familiar with OO and I wish to just dive in to programming in C++.
>>5
For me its easiest to just read reference manuals (anything more than a thousand pages is probably good,) going to a site like those being listed in this thread if there is anything I don't understand.
if you already know how to program, i'd recommend finding a good reference manual and some good c++ code that somebody else wrote... and then start hacking on it (adding new features fixing bugs, etc.)
There's a book available online somewhere, that I am too lazy to find, which is called something along the lines of "C++ for C programmers". If you already know C, read this. Or at least the parts that interest you. There's more to C++ than anybody could be bothered learning. You're happier taking a narrower view of the language and ignoring the esoterics.
>>5
If you already know a little bit, "C++ Common Knowledge" is pretty good for catching up on the rest.
I haven't looked at the C++ version of this but the Python one is quite good
>>11
Thanks for proposing an alternative. Oh wait, you didn't, so your post is just a useless waste of bits.
Take classes at your local CC
Also, for future reference what are some places online to learn about graphics programming? For someone who really has no knowledge of it.
http://www.gamedev.net/reference/
If you're serious about learning graphics programming, particularly the 3D variety, you'd probably be better off shelling out money for a graphics textbook or two.
And maybe a few CS classes.
C++ annotations is pretty good.
If you want a modern approach to learning C++, one that stresses the standard library rather than polymorphism, start with Accelerated C++ by Keonig and Moo. I like that approach for a beginner because you can get up and running with it quicker. Then you can pick up the older textbooks to learn the OO aspects.
Here's a link:
>>10 It was teh first language I learned, didn't have any problems with it.
In my opinion, it's best to start with a C-esque language, otherwise you get to dependent on garbage collectors and pre-written modules. Mind you, now I use primarily Python, but I always write out my data structures and search/sort crap in C checked againt lint.
>>20
I agree that one should start with a low-level language like Pascal to learn to make one's own crap (linked lists are mandatory). But then one should move on to modern languages because time is limited and one doesn't want to waste it by dealing with data structures too much, much less writing the fscking linked list implementation number 38940214 known to man.
>>14
Your local Global Community College, amirite?
If you dare, try going on a MUD that uses C and ask for a coder job, if you already have some C/C++ experiences. ROM base muds all use C/C++ if I recall it right.
If you have no idea what I mean by MUD, please ignore me.
>>24
smaug codebase is all C, as are its ancestors, natch (diku, i think? it's been a while...). dunno if it's still active, I haven't played a MUD since '00 or so.
vvvvvvvvvvvvvvvv
To tell you the truth i would suggest an online program called project fun operateed by digipen a college on the west coast. Though the approch they use is looking at programming games its good regardless. the online course costs like 99$ a year but its way cheaper the nbuying 10 books on the subject
>>28
hello internet marketeer, i am happy japanese
Linked lists have terrible cache performance!