HACKER Q&A
📣 gtsop

What are your resources for learning modern C and C++?


I haven't written any C and C++ code over a decade. Mostly out of personal interest I would like to revisit these two languages and aproach them as a new programmer, see how the standards and best practices have evolved (if at all). Are there any modern resources for doing that you know of, or am I approaching it the wrong way?


  👤 pjmlp Accepted Answer ✓
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...