Page 1 of 1

Best way to learn C++?

PostPosted: Sep 14, 2003 @ 9:16pm
by Robob

PostPosted: Sep 14, 2003 @ 10:41pm
by fzammetti
Start programming. Best way regardless of language. Grab some examples off the web to get some basic concepts in your head and start with a simple Hello World program, and keep building up little programs with more functionality.

If your completely new to programming then you may want to pick up a book to start with, but I don't have any specifically to recommend.

If you are just new to C++, then just jump in, come up with a reasonably simple program to write and do it.

Then again, it ultimately depends on what kind of learner you are. Some people absolutely need a textbook to get going, others do best when they just jump in and actually try to do something (I think most programmers fall in that category). Some people find a classroom lecture is required before they start to get it. Figure out which type you are and approach it from that way, but if you are "do it to learn it" type, then don't get hung up on looking for a good book or tutorials or even a boatload of examples. Just jump in and write something.

PostPosted: Sep 14, 2003 @ 10:55pm
by Robob

PostPosted: Sep 15, 2003 @ 12:15am
by fzammetti

PostPosted: Sep 15, 2003 @ 3:57am
by Alexander
By the way, I wouldn't recommend Practical C++ Programming (O'reilly) for a complete beginner; it is very hard to understand, and gets complex way too early. Try and get a book that has programming exercises in it. The best way to learn C/C++ is to apply the language.

I used Absolute Beginners guide to C as my first "official" book, and although it wasn't bad, it had many errors that threw me off at times.

Also, if something gets too hard, stop for a little while, and come back to it.

If you get stuck, come to this forum for help, I know it has helped me quite a bit!

PostPosted: Sep 15, 2003 @ 4:56am
by Robob

PostPosted: Sep 15, 2003 @ 4:58am
by Alexander
I tried "Learn C++ in 10 minutes" and it wasn't so good, I didn't learn very much, but then I moved on to Absolute beginners guide to C where I learned a very basic yet efficient understanding of C. I then moved on to Practical C++ Programming.

From what I hear, Practical C programming is quite good. I found the C++ version to be a little tough for beginners (but I wasn't a complete beginner at the time).

PostPosted: Sep 15, 2003 @ 5:55am
by DillRye
I think this is a decent webpage for beginners:
http://www.juicystudio.com/tutorial/cpp/index.html

PostPosted: Sep 15, 2003 @ 6:31am
by warmi
Make sure you understand concept of pointers and basically low level workings of CPU/memory.
You will never be able to design efficient and relatively bug free programs without knowing this stuff well.

PostPosted: Sep 15, 2003 @ 6:17pm
by mlepage

PostPosted: Sep 15, 2003 @ 9:13pm
by okku

PostPosted: Sep 16, 2003 @ 10:07pm
by Conan