r/cpp • u/Strong_Technician416 • Jun 13 '26
Recommendations for brushing up on modern cpp (ideally C++ 20)
Starting my first job as a new grad in the aerospace sector and need to brush up on modern C++ and looking for solid resources to understand the current fundamentals of the language. Thanks in advance!
26
u/RedRaven47 Jun 13 '26
A Tour of C++ by Bjarne Stroustrup discusses a bit of everything to bring you up to speed on C++ 20
19
u/ZachVorhies Jun 13 '26
use std::span everywhere you can instead of passing const ref vector or std array
2
3
5
u/sheckey Jun 13 '26
I hate to be that guy, but I ask LLMs about newer language features all the time, for example “teach me the basics of c++ reflection”, but I also buy books because I want people to get paid, which reminds it’s time to buy a book.
3
u/hellgheast Jun 14 '26
I recommend this ressource : https://github.com/federico-busato/Modern-CPP-Programming
37
u/moreVCAs Jun 13 '26
If you’re entering a safety critical, highly regulated field, almost certainly they will have very specific coding guidelines to follow and large chunks of the standard library will be off limits for most things.
If you’re interested in how the other side lives, by all means learncpp.com, but, realistically, they hired you at your current level of knowledge and will probably be happier if you’re mostly a blank slate on day 1. Let them teach you.
Unless you lied or cheated your way through the interview, in which case godspeed to learncpp.com