My Take on Learning C++
C++, one of the most powerful programming languages in the world, is used on an extremely wide range of hardware, going from small devices with embedded microprocessors all the way up to multi-rack supercomputers. Unparalleled by no other languages, it is intimidating and sophisticated to learn.
My knowledge about C++ is still rather limited to a very subset of it, but I still keep notes where I try to untangle some of its confusing syntax rules here.
Textbooks that I refer to (Recommended)
-
A Tour of C++ (The 3th Edition) by Bjarne Stroustrup, the creator of C++.
It's suitable for people who have received a decent amount of programming training with a solid mental model of the common concepts involved. It's a wonderful book because it adopts some of the latest language standards, yet isn't too heavy so you don't experience too huge friction.
-
Professional C++ (The 6th Edition) by Marc Gregoire.
It works best as a continuation of reading the first book by Stroustrup. It's the de facto standard Textbook if you want a well-rounded introduction to C++23. But it's a bit too bulky for someone who's new to C++. So it's best to read as the second book.