
The C++ programming language
by Bjarne Stroustrup · first published 1986
49mentions
19recommended by
46HN commenters
2008–2026first – last mentioned
41% recommend54% neutral4% critical
The C++ Programming tome, written by the father of C++ himself, Bjarne Stroustrup. The premier book on the subject of C++ Programming.
Affiliate links. As an Amazon Associate I earn from qualifying purchases.







Scott Meyers' Effective Modern C++ will be required reading once it's released in October. Until then (and even after), Stroustrup's The C++ Programming Language (4th edition) is the canonical resource. It's a reference but is also intended to be read.
on “We have C++14” ↗…could be considered required reading before you can really start to write specifications and code. Pick twenty of these and that might be a good start. In no particular order: 1- http://www.amazon.com/C-Programming-Language-2nd-Edition/dp/... 2- http://www.amazon.com/The-Answer-Book-Solutions-Programming/... 3- http://www.amazon.com/The-Standard-Library-P-J-Plauger/dp/01... 4- http://www.amazon.com/C-Traps-Pitfalls-Andrew-Koenig/dp/0201...…
on “I’m writing my own OS” ↗Principles and Practices is a book for people who have not programmed before. Unfortunately, the book you want is the fourth edition of The C++ Programming Language, which will not be available until April: http://www.amazon.com/dp/0321563840
on “Stroustrup on next-gen C++: I didn't want to let go of my baby” ↗…yours truly withhold from answering due to the connotations, and requires prefaces of this kind to address their apprehensions.) Software Engineering About C++: The Design and Evolution of C++ and The C++ Programming Language, both by Bjarne Stroustrup, the creator of C++. The first one is a snapshot of his philosophy during early years of C++ and is useful to understand the motivations etc. It provides insight. The second…
on “Ask HN: What are the best textbooks in your field of expertise?” ↗0) The C++ Programming Language by Bjarne Stroustrup 1) Structure and Interpretation of Computer Programs by Abelson and Sussman 2) Kvachi Kvachantiradze by Mikheil Javakhishvili
on “Ask HN: Which two books were the most influential on you?” ↗There were different book that impacted different stages of my career: As a programmer : 1. The C++ Programming Language by Bjarne Stroustrup. 2. Operating System Concepts by Silberschatz 3. Compilers by Aho As an agile software developer: 1. eXtreme Programming by Kent Beck 2. Pragmatic Programmer by Hunt and Thomas…
on “Ask HN: What three books impacted your career the most?” ↗…updated to reflect modern practices. [0] Scott Meyers, author of Effective C++ also wrote Modern Effective C++. [1] Lastly for pure online reference, cppreference.com. [2] [0] https://www.amazon.com/C-Programming-Language-4th/dp/0321563... [1] http://shop.oreilly.com/product/0636920033707.do [2] http://en.cppreference.com/w/
on “What programming languages do you know and which ones do you want to learn?” ↗I mainly learn from books. I learned C from K&R; I learned C++ from Stroustrup's The C++ Programming Language; I learned Perl from the Camel book. (I don't remember how I learned Java. It may have been online, or it may have been from a book.) A mentor is useful, because after reading a book like K&R, you…
on “Ask HN: How do you learn a new programming language?” ↗…least, reading the C++ Standard is the last bit on the topic of C++ This is the list of books which I recommend anyone who really wants to become great in C++ HTH :-) Edit: I should probably mention The C++ Programming Language (4th Edition) by Bjarne Stroustrup as a must have as well ;)
on “The Rook's Guide to C++” ↗Not a definitive list, but these are good: The C++ Programming Language, 4th edition Bjarne Stroustrup The C++ Standard Library, 2nd Edition Nicolai M. Josuttis Effective C++, More Effective C++, Effective Modern C++ Scott Meyers http://en.cppreference.com
on “Doom3 is the proof that “keep it simple” works” ↗The first few chapters of The C++ Programming Language by Bjarne Stroustrup 4th edition go through a tour of C++11 that will quickly show you how to use modern C++ techniques. The rest of the book can be used as a reference to learn more about specific features.
on “Ask HN: How to refresh on modern features of C++?” ↗No, this book is far too advanced if you're just learning C++. The C++ Programming Language, 4th Edition by Bjarne Stroustrup is the way to go for modern C++ (it covers everything and uses C++11 examples as much as possible). The beginning of "Effective Modern C++" starts off with the subtle…
on “A repository of modern C++ code samples curated by the community” ↗…Sedgewick & Wayne, but more for teaching than anything else. In a previous life: - The C++ Standard Library, Nicolai Josuttis, - C++ GUI Programming with Qt 4, Jasmin Blanchette and Mark Summerfield - The C++ Programming Language, Bjarne Stroustrup - Effective Java, Joshua Bloch - Scott Meyers' Effective C++ books.
on “Ask HN: What books do you keep on your desk?” ↗Start with the 2nd edition of "Tour of C++" from Bjarne Stroustrup, then "Programming: Principles and Practice Using C++" and finally 4th edition of "The C++ Programming Language". There are others for C++, but this would be a good start. As for C, "Extreme C" has nice up to day content. And in both cases, "Secure Coding in C and C++", https://www.amazon.com/Secure-Coding-2nd-Software-Engineerin...
on “Ask HN: What are your resources for learning modern C and C++?” ↗…Also there are a tonne of resources on C++ and especially JUCE out there, never underestimate the power of being able to Google for your answers! Edit: on the C++ side, I found Bjarne Stroustrup's "C++ Programming Language" book quite a good way to understand the fundamentals. To be honest, I usually learn new languages just by doing and Googling, but with C++ it quickly became apparent after the 100th mystery crash that…
on “Ask HN: How to get started with audio programming?” ↗