Skip to content

mcpp-community/d2mcpp

Repository files navigation

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 tool

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 -y        # exercise framework CLI

Step 2 - Get the course (choose one)

# Option A - one command: download the course, toolchain auto-configured
d2x install d2mcpp
cd d2mcpp
# Option B - git clone the source
git clone https://github.com/mcpp-community/d2mcpp.git   # or your fork
cd d2mcpp
xlings install -y            # toolchain pinned by .xlings.json

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

Exercises are real mcpp tests — mcpp test -p src/cpp11 works too (no d2x involved).

👉 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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages