federico-busato /Modern-CPP-Programming
Modern C++ Programming Course (C++03/11/14/17/20/23/26)
★ 16,311⑂ 1,135👁 158⑃ 7● 203▤ 15
+5
Daily
+35
Weekly
+92
Monthly
16,311
stars
1,135
forks
158
watchers
7
prs
203
issues
15
releases
README
Modern C++ Programming
C++03 / C++11 / C++14 / C++17 / C++20 / C++23 / C++26
This open-access course is directed at those who are already familiar with C and object-oriented programming aiming for a proficiency level of C++ programming. The course covers the basics of C++ programming and moves on to advanced C++ semantics and concepts.
Key features:
- Free and frequently updated
- 29 lectures, 2000+ slides
- Includes the latest language standard concepts and features
- Practical teaching: non-verbose, short structured descriptions associated with code
- Minimal code examples for showing just a specific feature or issue without digressing
- Complementary language aspects: tools, coding conventions, project organization, and code optimization
- Experience-based: many aspects, examples, and problems come from real-world cases faced during my work as a software engineer
If you enjoy the course or you find it useful, please add a Star
Roadmap:
1. Move from Latex to Typst.
2. Fully-open source the material and allow direct contribution.
Table of Contents
- Chapters
- Topics in Details
- Reporting Bugs 🐛 and Contributing
- Where the Course has been used
- License
- Author
CHAPTERS
| | TITLE | MAIN FOCUS |
| ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| 1 | Introduction (html) | History of C/C++, Areas of applications, Course introduction |
| 2 | Preparation (html) | Books, How to compile, Hello world |
| 3 | Basic Concepts I (html) | Type System, Fundamental types, and Operators |
| 4 | Basic Concepts II (html) | Integral types and arithmetic |
| 5 | Basic Concepts III (html) | Floating-point types and arithmetic |
| 6 | Basic Concepts IV (html) | Entities, Enumerators, Structures, Control flow statements |
| 7 | Basic Concepts V (html) | Heap, Stack, PoTop issues
#23[FEAT REQ] epub version15 comments · 2023-12-01#208Typos in image (chapter 20, slide 10)1 comments · 2026-05-07#185Add section on coroutines?1 comments · 2025-04-09#211Small inconsistency chapter 19.Utilities - slide 210 comments · 2026-10-15#210Prefix increment example in Basic Concepts I (html) is wrong (?)0 comments · 2026-08-29#209Chapter 7 slide 67-68 issues0 comments · 2026-07-21
Latest release
v1.9.0 1.9.0 2026-01-06Main Changes Two new chapters related to build aspects: Build Size and Build Time. Reorganized "Basic Concepts II" into two chapters, splitting integer and floating-point topics. Full Changelog Preparation: Improved IDE/Editor section, added cursor and void. Added C++ standard adoption (JetBrains Developer Ecosystem). Listed C++ main conferences. Basic Concepts I: Improved "Implicit Promotion" section. Added special cases for ! and bitwise shift promotion. Fixed wrong case of undefined behavior in function evaluation. Added float128 in the list of floating-poi