4 ms·
Tour of C++ by Bjarne Stroustrup as others have mentioned. Effective Modern C++ by Scott Meyers (esp. for the chapters on smart pointers). Arthur O' Dwyer's "
by nikki93 6y ago
Tour of C++ by Bjarne Stroustrup as others have mentioned.
Effective Modern C++ by Scott Meyers (esp. for the chapters on smart pointers).
Arthur O' Dwyer's "Mastering the C++17 STL"
David Vandervoode and Nicolai Josuttis etc.'s "Templates the Complete Guide"
The first chapter of "Elements of Programming" by Stepanov, and maybe the rest if you want.
I think also, just kinda glancing over the spec.
Bjarne's paper on the evolution of C++ from 2006 to 2020 is also important I think: https://dl.acm.org/doi/10.1145/3386320 https://dl.acm.org/doi/10.1145/3386320
As for talks,
https://www.youtube.com/watch?v=XS2JddPq7GQ https://www.youtube.com/watch?v=XS2JddPq7GQ is great for value categories and move semantics
https://www.youtube.com/watch?v=St0MNEU5b0o&t=6s https://www.youtube.com/watch?v=St0MNEU5b0o&t=6s also move semantics, and also part 2 of that if you want
I'll add more talks here in a bit!
And honestly if you've liked C, you can get far by just starting with that then slowly adding things you want. I think the first things one may end up reaching for are std::vector / std::string etc.; then being able to attach methods to types, then some templates, some auto, some lambdas. The old vtables / RTTI approach I basically never use anymore.
- nikki93 6y agoActually "C++ Crash Course: A Fast-Paced Introduction" by Josh Lospinoso seems to cover some good ground.