Best place online to learn C++ (31)

1 Name: #!/usr/bin/anon 2006-02-02 20:50 ID:v65ZVcJX

What are some good online guides and whatnot for learning C++?

2 Name: #!/usr/bin/anon 2006-02-02 22:22 ID:Q6Iv0EtV

On a related note, what are some good free C++ compilers.

3 Name: #!/usr/bin/anon 2006-02-02 23:22 ID:Heaven

>>2
g++

4 Name: #!/usr/bin/anon 2006-02-03 00:21 ID:pMEaRRFi

cplusplus.com

5 Name: #!/usr/bin/anon 2006-02-03 00:45 ID:wOitXy12

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++.

6 Name: #!/usr/bin/anon 2006-02-03 04:59 ID:Heaven

>>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.

7 Name: #!/usr/bin/anon 2006-02-03 11:39 ID:Heaven

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.)

8 Name: #!/usr/bin/anon 2006-02-03 12:48 ID:5c/hkTtk

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.

9 Name: #!/usr/bin/anon 2006-02-03 20:51 ID:sTHadCG4

>>5
If you already know a little bit, "C++ Common Knowledge" is pretty good for catching up on the rest.

10 Name: #!/usr/bin/anon 2006-02-03 20:52 ID:Heaven

If you're totally new at programming, >>1, I wouldn't recommend you learn C++ yet. It's sort of a mess. But if you already know another language, >>7-9 have good advice.

11 Name: #!/usr/bin/anon 2006-02-04 01:06 ID:BoBSiP+3

>>3
g++ is slow as a fuck

12 Name: #!/usr/bin/anon 2006-02-04 03:19 ID:/+PQErI7

I haven't looked at the C++ version of this but the Python one is quite good

http://www.ibiblio.org/obp/thinkCS/

13 Name: #!/usr/bin/anon 2006-02-04 03:32 ID:Heaven

>>11
Thanks for proposing an alternative. Oh wait, you didn't, so your post is just a useless waste of bits.

14 Name: #!/usr/bin/anon 2006-02-04 20:49 ID:Heaven

Take classes at your local CC

15 Name: #!/usr/bin/anon 2006-02-04 23:57 ID:v65ZVcJX

Also, for future reference what are some places online to learn about graphics programming? For someone who really has no knowledge of it.

16 Name: dmpk2k!hinhT6kz2E 2006-02-05 03:20 ID:Heaven

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.

17 Name: #!/usr/bin/anon 2006-02-06 10:32 ID:Heaven

And maybe a few CS classes.

18 Name: #!/usr/bin/anonymous : 2006-06-08 13:12 ID:MPKkUnLB

C++ annotations is pretty good.

19 Name: #!/usr/bin/anonymous : 2006-06-18 21:27 ID:vhDsY+Pz

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:

http://www.amazon.com/gp/product/020170353X/sr=8-1/qid=1150665620/ref=pd_bbs_1/103-8277856-5815027?%5Fencoding=UTF8

20 Name: #!/usr/bin/anonymous : 2006-06-25 23:52 ID:44GRQOQ1

>>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.

21 Name: #!/usr/bin/anonymous : 2006-07-05 09:56 ID:IeE+K1sS

>>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.

22 Name: #!/usr/bin/anonymous : 2006-07-08 18:52 ID:O0i3x4UN

23 Name: #!/usr/bin/anonymous : 2006-07-12 01:57 ID:Heaven

>>14
Your local Global Community College, amirite?

24 Name: #!/usr/bin/anonymous : 2006-07-15 06:12 ID:Wf+9u+Na

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.

25 Name: #!/usr/bin/anonymous : 2006-07-16 01:50 ID:x6CwYVcH

>>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.

26 Name: #!/usr/bin/anonymous : 2006-09-27 11:17 ID:YE5RmBGu

27 Name: #!/usr/bin/anonymous : 2006-10-21 16:54 ID:1M4rZEfa

vvvvvvvvvvvvvvvv

28 Name: Nanoviper : 2007-02-02 22:54 ID:5GQTGPfw

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

29 Name: #!/usr/bin/anonymous : 2007-02-03 04:53 ID:Heaven

>>28
hello internet marketeer, i am happy japanese

30 Name: #!/usr/bin/anonymous : 2007-02-05 23:14 ID:gRIDc/fP

>>21

Linked lists have terrible cache performance!

31 Name: #!/usr/bin/anonymous : 2007-02-06 20:15 ID:xupb+NcX

>>30
So do red-black trees!

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: