I'm looking for a good C++ book that is:
- Not too difficult
- Easy examples
- Self-contained examples – no need to understand another example before an example
- Tips
- Cross reference
The book I have does not have any comparison table of STL containers <-- not a good book.
The C++ Programming Language by Stroustrup (the creator of C++).
C++ Primer by Lippman (also a C++ pioneer)
Accelerated C++ by Koenig and Moo (probably the easiest, but is good because it starts right off with strings, vectors, etc, i.e., actual C++ and not just C!)
Also good, but probably after one of the above books, are:
Effective C++
Exceptional C++
Inside the C++ Object Model
The Art of C++
I would say if you are a C++ beginner, try to get "Exploring C++ by Ray Lischner". This book is way different than any other book. It divides the whole book in to explorations where you enjoy each and every part of it.
Online documentation is good. But I SERIOUSLY do not recommend it for learning. Though it's easy to understand, some people do not accept some material as easy as others. The books made are simply an excess of understandment of the people who are reading.
I recommend How to Program C++ Sixth Edition (Deitel). It meets all of your requirements and includes tips on avoiding errors, best practices, etc... Tons of exercises and examples and the text covers advanced topics as well as exposure to BOOST and OGRE3D. The book focuses on OOP/OOD from the beginning with an 8 or 9 chapter long case study utilizing UML to design and write a program. The appendix also contains excellent resources for dealing with Legacy code, number systems, debugging, etc...
Bjarne Stroustrup's Programming -- Principles and Practice Using C++
Addison-Wesley ISBN 978-0321543721. December 2008.
http://www.research.att.com/~bs/programming.html
Sorry for the small bump of this thread, but how about learncpp.com? I'm wondering if anyone has experience with them. Are these good tutorials to learn?