关于 C++ 的初步笔记
This commit is contained in:
@@ -16,6 +16,10 @@ export default defineNavbarConfig([
|
||||
text: 'LeetCode',
|
||||
link: '/programming/leetcode/',
|
||||
},
|
||||
{
|
||||
text: 'C++',
|
||||
link: '/programming/cplusplus/',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@ import { defineNoteConfig, defineNotesConfig } from 'vuepress-theme-plume'
|
||||
/**
|
||||
* 配置编程笔记
|
||||
*/
|
||||
const programming = defineNoteConfig({
|
||||
const LeetCode = defineNoteConfig({
|
||||
dir: 'programming',
|
||||
link: '/programming/',
|
||||
link: '/programming/leetcode/',
|
||||
sidebar: [
|
||||
{ text: "LeetCode 指南", link: "/programming/leetcode/" },
|
||||
{
|
||||
@@ -13,15 +13,25 @@ const programming = defineNoteConfig({
|
||||
{ text: "LeetCode 入门题单~(≧∇≦)ノ", link: "/programming/leetcode/question_sheet/beginner/" }
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
})
|
||||
|
||||
const cPlusPlus = defineNoteConfig({
|
||||
dir: 'programming',
|
||||
link: '/programming/cplusplus/',
|
||||
sidebar: [
|
||||
{ text: "C++ 学习笔记", link: "/programming/cplusplus/" },
|
||||
{
|
||||
text: "基础配置与开发工具", prefix: "/basis", items: [
|
||||
{ text: "C++ 环境配置", link: "/programming/cplusplus/basis/" }
|
||||
]
|
||||
}
|
||||
]
|
||||
})
|
||||
/**
|
||||
* 导出所有的 note
|
||||
*/
|
||||
export default defineNotesConfig({
|
||||
dir: 'notes',
|
||||
link: '/',
|
||||
notes: [programming],
|
||||
notes: [LeetCode, cPlusPlus],
|
||||
})
|
||||
|
||||
49
docs/notes/programming/c++/README.md
Normal file
49
docs/notes/programming/c++/README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
title: C++ 学习笔记
|
||||
description: 记录C++编程语言的学习心得和基础知识
|
||||
createTime: 2025/09/22 09:00:00
|
||||
permalink: /programming/cplusplus/
|
||||
---
|
||||
|
||||
# C++ 学习笔记
|
||||
|
||||
这里是我在学习C++编程语言过程中记录的学习心得、基础知识和实战经验。通过整理这些笔记,希望能够帮助自己和他人更好地掌握C++这门强大的编程语言。
|
||||
|
||||
## 学习路径
|
||||
|
||||
C++是一门复杂而强大的编程语言,学习路径建议如下:
|
||||
|
||||
1. **基础语法** - 掌握C++的基本语法和编程概念
|
||||
2. **面向对象编程** - 学习C++的类、继承、多态等OOP特性
|
||||
3. **STL标准库** - 熟悉常用的容器和算法
|
||||
4. **高级特性** - 模板、异常处理、智能指针等
|
||||
5. **实战项目** - 通过实际项目巩固所学知识
|
||||
|
||||
## 笔记分类
|
||||
|
||||
### 基础语法
|
||||
|
||||
- 数据类型
|
||||
- 运算符和表达式
|
||||
- 控制流语句
|
||||
- 函数
|
||||
|
||||
### 面向对象编程
|
||||
|
||||
- 类和对象
|
||||
- 继承与多态
|
||||
- 封装与抽象
|
||||
- 构造函数与析构函数
|
||||
|
||||
### STL标准库
|
||||
|
||||
- 容器(vector, list, map等)
|
||||
- 迭代器
|
||||
- 算法
|
||||
- 函数对象
|
||||
|
||||
## 学习资源推荐
|
||||
|
||||
- [C++ Primer Plus:中文版(第六版)](https://101su.ru/book/5442395/430bc1/c-primer-plus%E4%B8%AD%E6%96%87%E7%89%88%E7%AC%AC%E5%85%AD%E7%89%88.html) - 很好的C++入门教材
|
||||
|
||||
开始你的C++学习之旅吧!坚持学习,你会发现C++的魅力所在!
|
||||
5
docs/notes/programming/c++/basis.md
Normal file
5
docs/notes/programming/c++/basis.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: basis
|
||||
createTime: 2025/09/22 09:06:00
|
||||
permalink: /programming/cplusplus/basis/
|
||||
---
|
||||
Reference in New Issue
Block a user