MCP ExplorerExplorer

Mcpp Standard

@Sunrisepeakon 9 months ago
8 NOASSERTION
FreeCommunity
AI Systems
# Modern CPP Standard Features Practice ...

Overview

What is Mcpp Standard

mcpp-standard is a project focused on practicing modern C++ core language features through hands-on coding exercises.

Use cases

Use cases include practicing specific C++ features, preparing for coding interviews, and contributing to open-source projects.

How to use

To use mcpp-standard, install the required tools using the provided commands for Linux or Windows, download the project, and run the exercise checker with the ‘d2x checker’ command.

Key features

Key features include automated exercise detection, support for fuzzy matching of exercise names, and a community platform for discussion and contributions.

Where to use

mcpp-standard can be used in educational settings, software development training, and by individuals looking to enhance their C++ programming skills.

Content

License Bilibili
动手学现代C++核心特性 | 现代C++标准核心语言特性教程

目标

  • 1. 任何人都可以在网上免费获取课程资源
  • 2. 强调通过动手实践/代码练习的方式来学习
  • 3. 提供自动化的代码练习 + 方便的环境搭建的工具支持
  • 4. 通过社区共享、共建、互助实现良性循环 - 开源 + 论坛

交互式代码练习

  • 🌍练习进度/状态显示
  • 📄自动定位练习代码文件
  • ✅实时的代码检查和结果验证
  • 🤖~AI智能代码引导~

快速开始

通过使用xlings获取项目并运行编译器驱动开发模式(自动化检测)来进行代码练习

点击查看xlings安装命令

Linux

curl -fsSL https://d2learn.org/xlings-install.sh | bash

Windows - PowerShell

Invoke-Expression (Invoke-Webrequest 'https://d2learn.org/xlings-install.ps1.txt' -UseBasicParsing).Content

注: xlings包含所需的xim和d2x工具 -> 详情


获取项目

下载项目到当前目录并自动配置本地环境

xlings install d2x:mcpp-standard

注: 可以在项目目录执行d2x book命令, 本地打开使用说明书

练习代码自动检测

进入项目目录mcpp-standard运行checker命令, 进入练习代码自动检测程序

xlings checker

指定练习进行检测

xlings checker [name]

注: 练习名支持模糊匹配

练习及视频解读列表

c++标准 特性 标题 练习代码/视频 备注
引导 项目使用教程/引导 hello mcpp code / video
cpp11 00 - auto和decltype 类型推导 code / video
decltype注意事项 code / video 补充
01 - default和delete 控制默认构造函数生成 code / video
类型对象行为控制示例 code / video
02 - override和final 重写显示意图和编译器检查 code / video
继承和重现限制 code / video
03 - 后置返回值类型 后置返回值类型基础用法 code / video
04 - 右值引用 右值引用与临时对象生命周期延长的可变性质 code / video
05 - 移动语义 移动构造和触发时机 code / video
移动赋值和触发时机 code / video
移动的不是对象而是资源 code / video
06 - 作用域枚举 传统枚举的问题 code / video
作用域枚举的基本用法 code / video
07 - constexpr const和constexpr有什么不同 code / video
编译期计算应用示例 code / video

社区 | 交流

  • 即时交流(QQ群): 167535744
  • 练习代码/技术交流&讨论: 论坛版块

参与项目 | 社区贡献

  • 参与社区交流: 反馈问题、参与社区问题讨论
  • 参与项目维护和开发: 参与社区中问题处理、修复Bug、开发&优化新功能/模块

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers