# cpp_fundamentals **Repository Path**: daily_study/cpp_fundamentals ## Basic Information - **Project Name**: cpp_fundamentals - **Description**: No description available - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-12 - **Last Updated**: 2025-08-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # C++基础学习项目 本项目旨在从基础到高级全面学习C++编程语言。 ## 项目结构 - [include/](file:///Users/peter/study/c++/cpp_fundamentals/include/) - 头文件目录 - [src/](file:///Users/peter/study/c++/cpp_fundamentals/src/) - 源代码目录 - [build/](file:///Users/peter/study/c++/cpp_fundamentals/build/) - 编译输出目录 - [Makefile](file:///Users/peter/study/c++/cpp_fundamentals/Makefile) - 构建脚本 ## 学习内容 1. **Level 1**: C++基础语法 - 变量和数据类型 - 运算符 - 控制结构(条件语句、循环) 2. **Level 2**: 函数和数组 - 函数定义和调用 - 数组和字符串 - 指针和引用 3. **Level 3**: 面向对象编程基础 - 类和对象 - 构造函数和析构函数 - 封装 4. **Level 4**: 面向对象编程进阶 - 继承 - 多态 - 虚函数 5. **Level 5**: STL标准库 - 容器(vector, list, map, set等) - 算法(sort, find等) - 迭代器 6. **Level 6**: 模板 - 函数模板 - 类模板 - 模板特化 7. **Level 7**: 异常处理 - try/catch/throw - 标准异常类 - 自定义异常 8. **Level 8**: 文件操作和流 - 文件读写 - 输入输出流 - 格式化输出 9. **Level 9**: 智能指针和现代C++特性 - unique_ptr, shared_ptr, weak_ptr - auto关键字 - Lambda表达式 10. **Level 10**: 高级主题 - 移动语义和右值引用 - 完美转发 - 并发编程基础 ## 构建和运行 ```bash make run ``` 该命令将: 1. 创建build目录 2. 编译所有示例程序 3. 依次运行所有示例程序