Tuesday, July 14, 2009

What is a good book to learn C++?

I'm looking for a good book to learn c++. Right now I'm thinking of getting C++ Primer Plus, what do you guys think?

What is a good book to learn C++?
I don't own C++ Primer but I heard it's a good one. Check the reviews on Amazon to see what others say, that's how I gauge books. I recommend anything by Jesse Liberty as he explains things in a way that anyone can understand and don't feel like they are being talked down to. The only book I know of that targets C++ is 'Teach Yourself C++ in 21 Days'. Just forget the 21 days part and you should be fine. I'm not a fan of the 'Teach Yourself' series but I like Mr. Liberty's other works.





There are a ton of tutorials and resources on the Internet as well. This site might help a lot:


http://www.freeprogrammingresources.com/





EDIT: I have no problem recommending him a book from the "Teach Yourself" series. I'm not an advocate of the series myself but I'm not going to discount the value some of those books may have. He needs to crawl before he can walk. The Jesse Liberty C++ in 21 Days book I believe covers the course in Dev-Cpp and maybe a little gcc.
Reply:C++ by example





http://books.google.com/books?id=6v26YoB...
Reply:http://accu.org/index.php/book_reviews?u...





C++ Primer by Lippman or Accelerated C++ by Koenig are the two books I recommend for beginners.





C++ isn't a language you learn halfway. Either you are serious about learning it, and learn it properly, or you pick another language. So get a proper book return by the experts (the authors of the books have participated in creating the C++ standards)





Note: I'm referring to Lippman's Primer book. Not Prata's Primer Plus. The authors and the names of the books are different.





Also, avoid a C++ in "21 days" book. No serious and knowledgeable author would suggest you can pick up C++ in less than a month.





Definitely avoid a book that teaches "Visual C++" or "a specific easy version of C++". C++ is a standard language. Learn the standard first, then see how it applies to specific cases.


No comments:

Post a Comment