in your opinions, what is the best book for learning C++, or moving from C to C++?
in your opinions, what is the best book for learning C++, or moving from C to C++?
beginning Visual C++ 6 by Ivor horton. I'm about 3/4ths the way through it and the first half is just c++ learning (using the VC++6 compiler though it doesn't require it) which is 523 pages of C++. Then it moves onto Windows programming, then DLLs, then ActiveX, and OLE, and Data sources. Its pretty thourough. Right now I'm learning about OLE.
"When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."
"Teach Yourself C++ In 21 Days" by Jesse Liberty will give you a good introduction to classes & objects, inheritance, polymorphism, and all that C++ shtuff. The book is easy to understand, and there are questions and exercises at the end of each chapter with answers & solutions in the back. You can skip-over the parts that you already know from C (like loops).
"The C++ Standard Library" by Nicolai Josuttis starts with some of the features that are additional to C, and then he covers the Standard Template Library in detail. It is well written.