I'll give my usual answer, read these books in this order:
1) Programming Practices and Principles Using C++ 2nd Edition
2) C++ Primer 5th Edition
3) The C++ Standard Library: A Tutorial and Reference
4) The C++ Programming Language (as a reference)
Reasons for my recommendations:
1) Is a book designed to help you learn to program (if you have never programmed before) using C++ as a tool. It is also the intro course book for several degrees at Texas A&M University. Not to mention it is written by Bjarne Stroustrup himself.
2) The usual recommendation for Beginner C++, but that phrase is a little misleading. It isn't a book for someone who as never programmed, but rather a book for a programmer who is experienced in another language and looking to learn C++ now. It covers C++ more in-depth.
3) Covers the standard library in-depth.
4) I recommend this purely as a reference book. It too is written by Bjarne Stroustrup. You can certainly read it cover to cover if you like, but it makes a better reference than a book about learning due to its technical nature.
|It said that we wont waste your time and then the next 50 pages are about rubbish. Which is kinda stupid. I dont know if its just me, but I didnt like how it tackled it.|
That books is aimed at a complete beginner (ie never programmed a day in their life) so the 50 pages of rubbish is designed to 1) show that computers are everywhere, even in places some beginners may not have considered a computer, 2) show different areas where software is used, 3) just some of the different fields and things you can do as a programmer. Then it starts teaching techniques and skills using C++ as the tool to teach it through.
|So thats why I mixed stroustrups book with primer.|
That is terrible because the books are aimed at two completely different audiences. Stroustrup's book is aimed at complete beginners who have never programmed before. C++ Primer is aimed at programmers that have never used C++ before, but are experienced in another language.
|the prince wrote:|
|GingerDolphin: There's a book called Jumping into C++ that's pretty good. You can pick it up at it-ebooks.info.|
Or he can save money, and not get it through questionable means by simply going to Cprogramming.com and reading the tutorials. Jumping into C++ is nothing more than that site's tutorials in physical book form.