mcpp-community/d2mcpp

C++mcpp.d2learn.org

D2X | Modern C++ Core Language Features - "A C++ tutorial project focused on practical"

coursecppd2xexercisesmodern-cppopen-sourcetutorialvideoxlings
스타 성장
스타
1.8k
포크
115
주간 성장
+5
이슈
17
5001k1.5k
2025년 4월2025년 9월2026년 3월2026년 9월
README

D2X | Modern C++ Core Language Features - "A C++ tutorial project focused on practical"

📚Book + 🎥Video + ⌨️Code + 👥X

Goals

  • [Master] - Core language features of Modern C++ and their usage scenarios
  • [Master] - The ability to identify and debug issues using compiler error messages
  • [Familiarize] - The ability to solve unfamiliar C++ problems using documentation and cppreference
  • [Understand] - How to participate in the technical community — using open-source projects, asking questions, joining discussions, or contributing

[!CAUTION] This project is currently in its early development stage. If you encounter any issues, feel free to create an issue for feedback or directly submit a PR to fix it.

Quick Start

Try Code -> Book -> Video -> X -> Code

Interactive Code Practice (Online)

click the button below — the cloud environment configures itself (a few minutes on first launch), then the exercise checker starts automatically

Open in GitHub Codespaces

Interactive Code Practice (Local)

Step 1 - Install the d2x and mcpp tools

click to view xlings installation command

Linux/MacOS

curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash

Windows - PowerShell

irm https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.ps1 | iex

tips: xlings -> details


xlings install d2x mcpp -y   # d2x: exercise framework CLI | mcpp: C++ build & test tool

Step 2 - Get the course, then configure and verify the environment

d2x install d2mcpp           # download the course, toolchain auto-configured
cd d2mcpp
mcpp test -p solutions       # verify the environment: 52 reference answers, all green

solutions/ is a real mcpp package, so this compiles and runs all 52 reference answers — an unambiguous green tick that your toolchain is ready.

optional - start from the git source instead
git clone https://github.com/mcpp-community/d2mcpp.git   # or your fork
cd d2mcpp
xlings install -y            # toolchain pinned by .xlings.json
mcpp test -p solutions       # same environment check

Tip: fork this repo and clone your fork — git commit / push keeps your practice progress in your own repository.


Step 3 - Start practicing

d2x checker                  # practice loop: edit -> save -> auto-check -> advance
d2x status                   # progress overview

Prefer plain mcpp? The exercises are the tests — mcpp test prints your whole progress table (all red until you start), and mcpp test -p src/cpp11 runs a single chapter.

👉 more details...

Community

Note: Complex issues (technical, environment setup, etc.) are recommended to be posted on the forum and detailed description of the problem can be more effective in problem solving and reuse.

Contributing

  • Community Communication: Report issues, participate in community discussions, and help new users solve problems.
  • Project Maintenance and Development: Participate in community issue resolution, bug fixes, multilingual support, join the MSCP activity group, and develop and optimize new features and modules.

📑License & CLA

👥Contributors

Star History Chart

Featured|HelloGitHub

관련 저장소
mlabonne/llm-course

Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

tutorialApache License 2.0coursellm
mlabonne.github.io/blog/
82.4k9.6k
rohitg00/ai-engineering-from-scratch

Learn it. Build it. Ship it for others.

PythonPyPItutorialMIT Licenseagentsai
aiengineeringfromscratch.com
53.2k9.3k
DataTalksClub/data-engineering-zoomcamp

Data Engineering Zoomcamp is a free 9-week course on building production-ready data pipelines. Join the course here 👇🏼

Jupyter Notebooktutorialdata-engineeringkafka
courses.datatalks.club/register/de-zoomcamp/
45.4k8.8k
PKUanonym/REKCARC-TSC-UHT

清华大学计算机系课程攻略 Guidance for courses in Department of Computer Science and Technology, Tsinghua University

HTMLtutorialCreative Commons Attribution Share Alike 4.0 Internationalcoursecourse-project
rekcarc-tsc-uht.readthedocs.io
37.6k7.8k
google/comprehensive-rust

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.

Rustcrates.iotutorialApache License 2.0rustcourse
google.github.io/comprehensive-rust/
33.4k2.1k
huggingface/agents-course

This repository contains the Hugging Face Agents Course.

MDXtutorialApache License 2.0agentic-aiagents
32.3k2.3k
sunface/rust-course

什么?你敢放心的把后背交给 AI? 我赌你不敢,那就来学学 AI 时代最酷、最安全、最快的语言吧。本书拥有全面且深入的讲解、生动贴切的示例、德芙般丝滑的内容,这可能是目前最用心的 Rust 中文学习教程 / Book

Rustcrates.iotutorialrust-langrust
course.rs
30.9k2.6k
inancgumus/learngo

❤️ 1000+ Hand-Crafted Go Examples, Exercises, and Quizzes. 🚀 Learn Go by fixing 1000+ tiny programs.

GoGo ModulestutorialOthergolanggo
twitter.com/inancgumus
20.1k2.7k
datawhalechina/easy-vibe

💻 vibe coding 101|The first course for AI-native product builders.

JavaScriptnpmtutorialaicourse
datawhalechina.github.io/easy-vibe/
19.3k1.9k
USTC-Resource/USTC-Course

:heart:中国科学技术大学课程资源

C++awesomeustccomputer-science
ustc-resource.github.io/USTC-Course
16.3k3.5k
federico-busato/Modern-CPP-Programming

Modern C++ Programming Course (C++03/11/14/17/20/23/26)

HTMLtutorialCreative Commons Attribution Share Alike 4.0 Internationalcppcpp11
federico-busato.github.io/Modern-CPP-Programming/
16.1k1.1k
nswbmw/N-blog

《一起学 Node.js》

JavaScriptnpmtutorialtutorialnodejs
15.4k4.5k