HN Books @HNBooksMonth

The best books of Hacker News.

Hacker News Comments on
C++ Primer (5th Edition)

Stanley Lippman, Josée Lajoie, Barbara Moo · 9 HN comments
HN Books has aggregated all Hacker News stories and comments that mention "C++ Primer (5th Edition)" by Stanley Lippman, Josée Lajoie, Barbara Moo.
View on Amazon [↗]
HN Books may receive an affiliate commission when you make purchases on sites after clicking through links on this page.
Amazon Summary
Bestselling Programming Tutorial and Reference Completely Rewritten for the New C++11 Standard Fully updated and recast for the newly released C++11 standard, this authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting today’s best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code. C++ Primer, Fifth Edition, introduces the C++ standard library from the outset, drawing on its common functions and facilities to help you write useful programs without first having to master every language detail. The book’s many examples have been revised to use the new language features and demonstrate how to make the best use of them. This book is a proven tutorial for those new to C++, an authoritative discussion of core C++ concepts and techniques, and a valuable resource for experienced programmers, especially those eager to see C++11 enhancements illuminated. Start Fast and Achieve More Learn how to use the new C++11 language features and the standard library to build robust programs quickly, and get comfortable with high-level programming Learn through examples that illuminate today’s best coding styles and program design techniques Understand the “rationale behind the rules”: why C++11 works as it does Use the extensive crossreferences to help you connect related concepts and insights Benefit from up-to-date learning aids and exercises that emphasize key points, help you to avoid pitfalls, promote good practices, and reinforce what you’ve learned Access the source code for the extended examples from informit.com/title/0321714113 C++ Primer, Fifth Edition, features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surface. This special binding method—notable by a small space inside the spine—also increases durability.
HN Books Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this book.
If you are willing to read a book, I strongly recommend the C++ Primer, 5th ed., by Lipmann et al. [0]

It's a very didactic book, covering C++11 well. Unfortunately it does not cover C++14 or C++17, but if you are just starting out with C++ I don't think that's an issue -- most shops are still on 11 or older, anyways...

[0] https://www.amazon.com/dp/0321714113

I found "C++ Primer" by Lippman et al very well written and comprehensive. It includes C++11 features and every chapter has exercises to make sure you understand the content.

https://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/03217...

AstralStorm
Already outdated by 6+ years though.
tolger
What would you say are important features missing in C++11 that are in the current standard? I ask because I'm trying to get back into C++ development after many years and even C++11 seems like a new language to me.
Dec 06, 2017 · parasight on C++17 Standard Published
I'd recommend to choose one of these two books:

Programming: Principles and Practice Using C++, 2nd Ed., Bjarne Stroustrup https://www.amazon.com/Programming-Principles-Practice-Using...

C++ Primer, 5th Ed., Stanley Lippman https://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/03217...

For a very brief introduction:

A Tour of C++, Bjarne Stroustrup https://www.amazon.com/Tour-C-Depth/dp/0321958314/ref=sr_1_1...

sn9
Here's more info regarding book recs: https://isocpp.org/wiki/faq/how-to-learn-cpp#best-book
Stanley B. Lippman - C++ Primer - http://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/032171...

I haven't been using C++ for a few years now and I needed a quick refresher. While I wouldn't call C++ Primer quick it covers all the basics really well. Great resource for people new to the language.

seivan
Second this. It's the only book I own that specifically covers a programming language. I own the fourth edition - has a slight different cover.

Only complaint is the same as yours, it's pretty verbose but I guess that's what you get with c++.

The C++ primer (latest edition) covers C++11 concepts pretty well. http://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/032171...

Once you learn the fundamentals, read Scott Myers. (effective c++, effective modern c++)

"C++ Primer" by Lippman et al. is the best book in my opinion http://www.amazon.co.uk/C-Primer-Stanley-B-Lippman/dp/032171...
ddorian43
thanks

you probably should have posted the thread on a weekday

sedeki
Yes, probably :-)
A good introductionary book about C++11 is "C++ Primer": http://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/032171...

What I like about this book is that it teaches you the new C++ way right from the beginning. Rather than walking you through the history of C, it gets you to the modern practices immediately.

Disclaimer: I have only read the first 10% of the book myself, but so far I like it.

C++ Primer was updated to C++11. http://www.amazon.com/Primer-5th-Edition-Stanley-Lippman/dp/...

The C++ FAQ is really helpful but doesn't seem to be updated to C++11 http://www.parashift.com/c++-faq/

Fortunately you can refer to Stroustrup's FAQ about C++11 http://www.stroustrup.com/C++11FAQ.html

For reference (like libc manpage, basic usage, which header to include): http://en.cppreference.com/

HN Books is an independent project and is not operated by Y Combinator or Amazon.com.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.