Jump to content
  • Advertisement
Sign in to follow this  
Rafael Andrew Villanueva

C++ books for Beginners.

This topic is 2217 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What are good beginner books for c++?

I'm familiar with c++ already but, would like to go back to the basics then slowly take my way up again to advance c++ programming then move to game programming.

Help me up please :). Feel free to post your awesome books that you begin with c++ and your review about the book!

Share this post


Link to post
Share on other sites
Advertisement
I recommend xoax beginner tutorials. But when you finish those you should probably still read thinking in C++, because he doesn't cover some important features and doesn't go very in depth with more advanced features (std::vector && std::string). After that, you should probably read the official documentation for SFML And then moving on to gamefromscratch tutorials.

Share this post


Link to post
Share on other sites
Thanks for the reply guys.

@jbadams : Yes, I'm planning to get that c++ Primer 5th edition but, I don't plan on getting the 6th. I heard it was terrible :3. And also after reading Primer, 5th I'm 100% sure going for the Effective C++ book since I've heard so many great things about this and almost everyone recommends it here on gamedev. Thanks for your suggestion :).

@superman3275 : Hm, that xoax is very interesting :). I'm going to check it out. And thanks for that thinking in C++ recommendation. I'll download it now :).

Share this post


Link to post
Share on other sites

@jbadams : Yes, I'm planning to get that c++ Primer 5th edition but, I don't plan on getting the 6th. I heard it was terrible :3


I think you're thinking about two different books :-)
To clarify:
- the awesome one: C++ Primer (5th Edition) by Stanley B. Lippman, Josée Lajoie, Barbara E. Moo // Publisher: Addison-Wesley Professional; 5 edition (August 16, 2012)
- the terrible one: C++ Primer Plus (6th Edition) by Stephen Prata // Publisher: Addison-Wesley Professional; 6 edition (October 28, 2011)

They're named confusingly similarly, but they couldn't be more different. For instance, the Prata's book introduces C-style arrays before introducing std::vector and uses C-style raw pointers & manual memory allocation before using smart pointers. This is especially hurtful for beginners, since it can be a source of bad habits and can be understood as (incorrectly) suggesting that STL-based material is somehow "more advanced" (which couldn't be more wrong, it's actually way easier and user-friendlier); beginners shouldn't be using the C-style stuff anyway, definitely not as the first choice. (That's not to say that the C++ Primer doesn't cover those topics -- it does, and the coverage is quite good too (with the important caveats mentioned, etc.), and in does it in the proper order). Edited by Matt-D

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!