BenjaminYde/CPP-Guide
关于
Modern C++ (C++17/20/23) guide and cheat sheet with runnable examples. Zero-setup dev environment using Docker and VS Code Dev Containers on Linux. 🚀
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CPP Guide 📚
👋 Welcome!
The CPP Guide repository is meant to be a guide / quick reference for C++ developers where I try to get to the point so you can spend more time programming. This guide is Markdown, so it is easily opened using Visual Studio Code or Github. It contains extensive documentation, code examples and best practices.
📖 Read it online (with search): benjaminyde.github.io/CPP-Guide
📝 A Note on Reading This Guide
Before you dive in, it's important to understand that this guide is structured by topic, not by difficulty. There is no prescribed "beginner to advanced" path. Feel free to jump to any section that is relevant to your needs. A developer needing to understand std::vector can go straight there, while another might need to brush up on "RAII" or "CMake Presets."
🚀 Execute Code Examples
Explore the 📁 examples directory for interactive C++ code examples, easily executable inside a Docker DevContainer within Visual Studio Code. This setup ensures a consistent and streamlined coding environment, ideal for learning and experimentation.
🌐 Documentation Website
The guide is also published as a Docusaurus website, built from the 📁 guide directory. The website project lives in 📁 docusaurus and has its own DevContainer (cpp_guide_docs, in .devcontainer/docs_x64_ubuntu24.04).
- Open the project in the
cpp_guide_docsDevContainer. Dependencies are installed automatically (npm ci). - Go into the
docusaurusfolder. - Run
npm startto start a live-reloading development server at localhost:3000/CPP-Guide/. - Run
npm run build && npm run serveto test the production build. The search bar only works in a production build: the search index is generated at build time, so no external search service is needed.
🗂️ Table of Contents
📜 Strings, Streams & Files
| 📦 Containers
| 🧠 Memory Management
🎭 Functions
|
🏛️ Object Oriented Programming (OOP)
General | Inheritance | Virtual Functions |
🛠️ C++ Compilation, CMake & Tooling
Compilation Process | CMake
| Tooling |
🔗 Typing, Casting & ConstExpr | ⚡ Concurrency |
🎨 Design Patterns & Idioms |
🚧 Todo
- Design patterns
- Templates
- Error handling
📍 References
General
Tutorials
Interviews
|
Books
|
探索相关项目
加载中…