I have done something c,now i want to start c++ .
can U suggest a proper book for c++?
thank you
"Thinking in C++" from Bruce Eckel. It's good for getting started, but it doesn't cover everything in detail, like...
"The C++ programming language" from Bjarne Stroustroup (the main designer of the C++ language) does (I think it has about 1000 pages).
"Thinking in C++" from Bruce Eckel. It's good for getting started, but it doesn't cover everything in detail, like...
"The C++ programming language" from Bjarne Stroustroup (the main designer of the C++ language) does (I think it has about 1000 pages).
In addition to the books mentioned by dariophoenix, you may also have a look at "Accelerate d C++" by Koenig/Moo. It uses a slightly different approach: instead of starting with language features, is starts with problems and presents solutions in C++. This way, language features are introduced when needed. Self-defined classes, for instance, are not explained before p.150, since the authors only use the standard containers from the STL to solve the introductory problems.
Furthermore, the book is quite compact for a book on C++ ...
Since you already know how to program in C, I suggest "Absolute C++" by Walter Savitch (ISBN 0201709279). It's colorful and well designed for people who programmed in other languages. It includes "Pitfall" sections where people who program in JAVA or C might make mistakes switching over to C++. Also, it only uses the C++ header files instead of deprecated ones in its teachings but shows you how to recreate some member functions that may no longer be available in the C++ headers.
The book is a bit expensive (US$90?) but comes with a copy of Visual C++ .NET Intro Edition.
Comment