A curated, language-organized list of tutorials that walk developers through building complete applications from scratch.
mcpp-community/d2mcpp
A free, open-source C++ tutorial course covering modern C++ core language features through book chapters, videos, and practice exercises.
- Stars
- 1,789
- Forks
- 118
- Open issues
- 27
- Last commit
- 11 hours ago
What is it?
D2MCPP is a C++ learning course built around modern C++ core language features. It combines a written book, a video series, and code exercises, so learners can read a concept, watch it explained, and then practice it in the same project.
The course is designed to build two skills: using modern C++ features in the scenarios where they apply, and reading compiler error messages to find and fix problems. It also points learners to cppreference and the community forum for solving unfamiliar problems on their own.
Practice can be done online through GitHub Codespaces or locally. Local setup uses the xlings tool to install the course's toolchain versions, and the d2x checker runs automatically as you edit and save exercise files.
Key features
- 01Covers modern C++ core language features with a written book and video series.
- 02Provides code exercises with reference solutions that can be run with mcpp test.
- 03Includes an auto-checker (d2x checker) that validates answers as you save files.
- 04Can be practiced online in GitHub Codespaces or locally with xlings.
- 05Offers a community forum for questions, feedback, and discussion.
Use cases
- Learning modern C++ (C++11 and later) features in a structured, exercise-driven way.
- Practicing C++ on a browser without a local compiler setup via Codespaces.
- Teaching a C++ course or study group with a ready-made set of exercises and videos.
Quick start
- 1
Install xlings and Git, then reopen your terminal
- 2
Clone the course repository
git clone https://github.com/mcpp-community/d2mcpp.git - 3
Update xlings from the course directory
xlings update - 4
Install the course versions declared in .xlings.json
xlings install -y
Things to know
- The README says the project is in its early development stage.
- The course book is licensed CC-BY-NC-SA 4.0, which restricts commercial use.
Topics
FAQ
- What is d2mcpp?
- A free, open-source C++ tutorial course covering modern C++ core language features through book chapters, videos, and practice exercises. D2MCPP is a C++ learning course built around modern C++ core language features. It combines a written book, a video series, and code exercises, so learners can read a concept, watch it explained, and then practice it in the same project.
- Is d2mcpp free to use? What license does it have?
- d2mcpp is open source under the Other license. Check the license terms before using it in commercial products.
- Is d2mcpp still maintained?
- Actively maintained. The last commit to d2mcpp was on Oct 20, 2026.
- What can I use d2mcpp for?
- Learning modern C++ (C++11 and later) features in a structured, exercise-driven way. Practicing C++ on a browser without a local compiler setup via Codespaces. Teaching a C++ course or study group with a ready-made set of exercises and videos.
- How do I install d2mcpp?
- Install xlings and Git, then reopen your terminal Clone the course repository: git clone https://github.com/mcpp-community/d2mcpp.git Update xlings from the course directory: xlings update Install the course versions declared in .xlings.json: xlings install -y
- Where can I get d2mcpp?
- The source code and installation instructions are on GitHub: https://github.com/mcpp-community/d2mcpp
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A Microsoft-led course of 18 lessons teaching beginners how to build AI agents, with Python code samples using Microsoft Agent Framework and Foundry.
A free 30-day step-by-step JavaScript course with daily lessons, exercises and mini projects for beginners.
A hands-on Vibe Coding course that teaches non-programmers and developers to build real AI-assisted products from idea to launch.
A cross-platform C++ image and video filter library that runs on OpenGL/ES, with beauty and face-based effects.
Nau Engine is a free, open-source C++ game engine built with CMake and vcpkg, with source code in a Git repository for anyone to use and modify.