C++ books

Sorry if this might be in the wrong part of the forum, but I was wondering what other c++ book I should get.

I have: C++ without Fear by Brian Overland.

I only know some c++, up to functions, and I need to know what is a good beginner c++ book.
I wouldn't say you are a beginner still! You know all the basics.
I presume you are aware of arrays, pointers, references and functions and are not up to STL or OOP yet.
I cannot tell you what is a great book and what is not but I personally use the C++ Primer 4ed. It's rather poorly organized and has a lot of cross-referencing but covers everything into the platform-specific factors of C++ and beyond. You will cover all the tenets of OOP (polymorphism, encapsulation, inheritance, templates, operator overload) and also STL.
^^^ I'm aware of arrays and pointers, though It's taking me a really long time to learn them. I'm also having problems with some other advanced functions, as my book simply keeps going on using advancing functions. I'll check out C++ primer on amazon though.
What do you mean by advanced functions?
Arrays and pointers are the most troublesome topic by far I find. Pointers you should get used to but arrays you can leave behind if you like, once you learn STL containers.
Last edited on
^^^Randomization and such.
arrays you can leave behind if you like
No, he can't. Even if he never uses them, arrays are among the most important constructs of the language, and they must be learned. Just because you don't use it, it doesn't mean other people won't. A programmer spends as much type writing code as he does reading code. Possibly even less.

This site has a comprehensive reference of the standard library.
http://www.cplusplus.com/reference/
http://www.cplusplus.com/reference/clibrary/cstdlib/rand/
http://www.cplusplus.com/reference/clibrary/cstdlib/srand/
By leave behind I mean not use. I personally phase out arrays in favor of vectors. An understanding to read other people's source is necessary for *everything*.
closed account (1yR4jE8b)
If you want to buy a C++ textbook, I recommend "Absolute C++" by Walter Savitch. It is by far, the most complete book on C++ programming I have ever read. It is the textbook I used in University while doing my Computer Science degree, and it is the first book I check when I need to reference something about C++.

http://www.amazon.com/Absolute-C-4th-Walter-Savitch/dp/0136083811/ref=sr_1_1?ie=UTF8&s=books&qid=1262118321&sr=1-1

You could also check out Bjarne Stroustrups book (he is the creator of C++)
http://www.amazon.com/C-Programming-Language-Special/dp/0201700735/ref=sr_1_1?ie=UTF8&s=books&qid=1262118542&sr=1-1
Topic archived. No new replies allowed.