gitmyhub

modern-cpp-tutorial

C++ ★ 26k updated 12d ago

📚 Modern C++ Tutorial: C++11 to C++26 On the Fly | https://changkun.de/modern-cpp/

A practical guide to modern C++ features (C++11 through C++20) for developers familiar with older C++, with code examples and historical context for each feature.

C++setup: easycomplexity 2/5

Modern C++ Tutorial is a concise, practical book for developers who already know traditional C++ (the version from around 1998 or earlier) and want to learn the new features added in C++11, C++14, C++17, and C++20. C++ is a powerful but complex programming language widely used in systems software, game engines, and performance-critical applications, and its modern versions added major improvements to make the language safer and more expressive.

The book is written "on the fly" — meaning it is designed for quick learning, so you can pick a specific feature you need and understand it in isolation rather than reading everything from start to finish. For each feature, it explains not just what it does, but the historical reason it was added, which helps the concepts stick. Each chapter includes code examples and exercises with solutions.

You would use this if you are an experienced C++ developer who learned the language before the modern era and wants to update your skills, or if you are an intermediate developer who wants to quickly get up to speed with contemporary C++ idioms (patterns and conventions). The book is available to read online, as a PDF, as an EPUB, and through a website. It exists in both English and Chinese. The tech stack is C++.

Where it fits