Jump to content
  • Advertisement
Sign in to follow this  
Azzazelus

Fast C++ book

This topic is 987 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

Hello. I know the title sounds weird but..I'm learning C++ for some years now and I think I'm a little more than a beginner but I never managed to know all the rules of the language or I forgat many of them because I did not use those features. Is there any book suitable for me more like a "dictionary" or one that presents rules and examples without all the explaining ? Its boring to read books with 1000+ pages and try to skip the things I know. 

Thanks.

Share this post


Link to post
Share on other sites
Advertisement

There is no better reference work than "The C++ Programming Language" by Bjarne Stroustrup.

 

If you have trouble using that as a reference book, the problem is not with the book.

Share this post


Link to post
Share on other sites

So we are at an interesting place in the C++ language right now where the language is actually moving faster than the publishers at this point.  I highly recommend as was already recommended that you open up http://en.cppreference.com/w/ and start to go thru each item.  Don't expect though to pick up the finer points there if you don't already know them such as cache misses, atomics, compiler nuances, etc.  

Share this post


Link to post
Share on other sites

There are two books you should absolutely own as reference -- The first is as Bregma mentioned: The C++ Programming Language by Bjarne Stroustrup, and the second is The C++ Standard Library by Nicolai M. Josuttis. You'll be wanting the most recent editions of both, 4th and 2nd respectively. These should be on every serious C++ programmer's bookshelf -- I buy mine in hardcover. Both of these books will give you a lot more depth than any one place on the internet will, especially if you're interested in history or theory.

 

For a very quick, but surface-level review of a language, I've had good experiences with O'Reilly's Pocket Reference books. They're small and inexpensive, but they'll hit enough of the high points to be able to re-familiarize yourself with the basics of features you don't use often. For example, when I've interviewed for jobs in the past where the gig uses a language I haven't actively used for awhile, I find these books to be a great, quick refresher, and since they're inexpensive (usually < $10) I can always just go buy the latest one.

 

After that, Scott Meyers' Effective Modern C++ (1st) and Effective C++ (3rd) are also something you should at least read, if not own. There's also More Effective C++ but its very aged at this point because it never got a second edition or update -- still, there are probably some gems of wisdom in there so I would say its a read if you can get your hands on it, but don't buy unless maybe you find a really cheap used copy -- Even Effective C++ is starting to age, but its 3rd edition is new enough to be a worthwhile addition to your bookshelf.

Share this post


Link to post
Share on other sites


So we are at an interesting place in the C++ language right now where the language is actually moving faster than the publishers at this point.

 

I stand by my post above, but this is also very true. I don't believe any of the books I recommended have an impending replacement any time soon, not within the next two years probably, but they do suffer from being behind the language currently, due to the language's quick pace of evolution as of late. We'll never return to the past's decade of language stability, and that's a good thing, but it also means the books will have caught up to the language for a lot less of the time. I don't like to be flipant about money when I don't know people's situations, but $60 for a new book every 3-4 years is money well spent for professional growth and/or hobby.

 

You should own at least the two reference books, but do expect you'll need to go online to get the latest information.

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!