finds.dev

changkun/modern-cpp-tutorial

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

View on GitHubHomepage ↗

★ 25,685C++MITupdated Jun 2026

// the take

A book-style tutorial covering C++ from C++11 through C++26, aimed at developers who already know traditional C++ and want to get up to speed on the modern features fast. Available as GitHub markdown, PDF, EPUB, and a Hexo-powered website. Written by a single author, originally in Chinese, with an English translation.

Covers an unusually wide range — C++11 through C++26 in one place, including concepts, ranges, coroutines, and the C++23/26 additions like deducing this and std::expected. Every chapter comes with runnable code organized by chapter number, so you can actually compile and verify the examples rather than just reading prose. The historical-context framing ('why did this feature exist') is more useful than most tutorials that just show syntax. Available in multiple formats including PDF and EPUB for offline reading.

The CC BY-NC-ND license means you cannot legally modify or redistribute adapted versions — odd for an educational resource and a hard stop if you want to fork it for internal training material. The English translation has rough patches throughout; it reads like a careful non-native speaker, which occasionally obscures the technical point. Coverage thins out significantly in the C++23 and C++26 chapters — these feel like stubs compared to the depth of the C++11/17 material. The exercises are sparse: only chapters 2, 6, and 7 have any, and the chapter 6 'exercises' are actually a working HTTP server example, not practice problems.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
25,685
Forks
3,111
Language
C++
License
MIT
Last commit
21 Jun 2026

// nearby

If modern-cpp-tutorial isn't quite it.

All repos →