Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I've found the C++ Standard Library 2nd Edition to be an excellent companion to Stroustrup's Tour of C++. It does a good job of preventing you from reinventing wheels that others have already built for you.


sort by: page size:

“A tour of C++” (second edition) by Stroustrup is a great starting point.

Stroustrup's A tour of C++ is a good start (2nd ed)

http://www.stroustrup.com/tour2.html


Stroustrup's The C++ Programming Language 4th Edition (the blue one) is good. The beginning of it gives a tour of C++ in light detail but then you have the rest of the book to look at as a reference. It's actually quite an enjoyable read, particularly as it has a different font to the previous version (the white one?).

A Tour of C++ 2nd Edition, by Bjarne Stroustrup

https://www.stroustrup.com/tour2.html

> The ``tour'' is a quick (about 240 pages) tutorial overview of all of standard C++ (language and standard library) at a moderately high level for people who already know C++ or at least are experienced programmers. It covers C++17 plus a few likely features of C++20.

I will add that it's a good way to have an overview of modern C++, you can then go deeper on some topics with more specialized resources. It's a good read IMHO, with a good pace.


I just want to point out that Stroustrup's A Tour Of C++ is an excellent quick guide and it does include C++11 features.

A tour of C++ 2nd edition: https://www.stroustrup.com/tour2.html

C++ Core Guidelines: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

GSL (Core Guidelines Support Library): https://github.com/Microsoft/GSL


True, The C++ Standard Library is a very good book as well

How is the accuracy and recency of this manual compared to Stroustrup's A Tour of C++? Has anyone here read both?

Stroustrup's C++ book is good - the tour in the early part of the book covers many aspects quickly but the rest of the book is helpful reference for explaining parts that are only briefly touched on in the first bit (or if you don't quite "get it").

Also, the rest of the book is well written and worth reading for completeness, if not rather lengthy.


I found Stroustrop's book A Tour of C++ very useful for catching up with C++14/17. It's relatively short and it's easy to skim through parts you already know well.

It was just updated for C++20 (with some coverage of C++23).

There's always a bunch of CppCon talks for this too. Just pop on over to their YouTube channel.


Tour of C++, 2nd edition, from Bjarne Stroustroup is quite good to get to know all major updates how to write good C++20 code (the book goes through all relevant updates since C++11).

Any good ones that you recommend? Is Stroustup's new version of the C++PL worth reading through or is that more of a reference book?

I personally recommend starting with Stroustrup’s other book…A Tour of C++. It really brings you up to speed quickly with what you need to know in the language without a lot of excess fluff. It’s also very up to date compared to other books.

I find Stroustrup's book to be more accessible; the C++ spec can get rather math-y for some people.

When I went on a Modern C++ bender a year or two ago I went with Stroustrup's A Tour of C++ (2nd edition when I bought it, 3rd is out now). It was a good read, covered a lot of details quickly. The rest of my re-learning was using cppreference and reading through the list of standard types and functions/methods on them, trying to translate old (clunky, often subtly broken) C++03 code into modern C++.

https://www.stroustrup.com/tour3.html

https://en.cppreference.com/w/


I recommend Stroustroup's book as it really leaves no area unexplored. It is better to read it after having read some other material, as you have. I would wait for the 4th edition, though, which covers C++11.

Not exactly what you asked for, but in my humble opinion Stroustrup’s Tour of C++ is one of the best books for getting up to speed quickly with C++ if you know other languages…

https://www.stroustrup.com/tour2.html


I like both "A Tour of C++" by Stroustrup and "Effective Modern C++" by Scott Meyers. Though, the latter is a bit dense if you are unfamiliar with c++.

A Tour of C++, by Stroustrup.
next

Legal | privacy