mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-04-15 02:50:03 +08:00
update
This commit is contained in:
121
README.md
121
README.md
@@ -4,7 +4,7 @@
|
||||
|
||||
学习C++内容,包括理论、源码、实践、课程代码、项目等。
|
||||
|
||||
### 1.基础部分
|
||||
### 1.基础进阶
|
||||
|
||||
- [const那些事](./basic_content/const)
|
||||
- [static那些事](./basic_content/static)
|
||||
@@ -34,14 +34,13 @@
|
||||
|
||||
---
|
||||
|
||||
### 2.C++2.0新特性
|
||||
|
||||
### 2.进阶部分
|
||||
#### 2.0 概况
|
||||
|
||||
#### 2.1 [effective_c++](./effective_c++)
|
||||
C++2.0简称包括C++11/14/17/20。
|
||||
|
||||
正在更新...
|
||||
|
||||
#### 2.2 [C++2.0新特性](./c++2.0/)
|
||||
#### 2.1 [C++11新特性](./c++2.0/c++11)
|
||||
|
||||
- [Variadic Templates](./c++2.0/variadic)
|
||||
|
||||
@@ -110,14 +109,15 @@
|
||||
|
||||
学习资料:https://www.bilibili.com/video/av51863195?from=search&seid=3610634846288253061
|
||||
|
||||
#### 2.3 [C++并发编程v1](./c++2.0/./concurrency_v1)
|
||||
### 2.2 C++14/17/20
|
||||
|
||||
- [第一章](./c++2.0/./concurrency_v1/chapter1)
|
||||
- [第二章](./c++2.0/./concurrency_v1/chapter2)
|
||||
待更新...
|
||||
|
||||
学习资料:https://chenxiaowei.gitbook.io/cpp_concurrency_in_action/
|
||||
### 3.设计模式
|
||||
|
||||
#### 2.4 [STL源码剖析](./stl_src)
|
||||
- [单例模式](./design_pattern/singleton)
|
||||
|
||||
### 4. [STL源码剖析](./stl_src)
|
||||
|
||||
**stl源码剖析:gcc4.9.1**
|
||||
|
||||
@@ -137,13 +137,18 @@
|
||||
- [myhashtable](./stl_src/myhashtable.md)
|
||||
- [unordered_map](./stl_src/unordered_map.md)
|
||||
|
||||
## 3.设计模式
|
||||
### 4. [并发编程](./c++2.0/./concurrency_v1)
|
||||
|
||||
- [单例模式](./design_pattern/singleton)
|
||||
#### 4.1 C++ Concurrency in Action
|
||||
|
||||
## 4.多线程与多进程
|
||||
- [第一章](./c++2.0/./concurrency_v1/chapter1)
|
||||
- [第二章](./c++2.0/./concurrency_v1/chapter2)
|
||||
|
||||
### 4.1 Threading In C++
|
||||
学习资料:https://chenxiaowei.gitbook.io/cpp_concurrency_in_action/
|
||||
|
||||
#### 4.2 多线程与多进程
|
||||
|
||||
##### 4.2.1 Threading In C++
|
||||
|
||||
- [介绍](./Threading_In_CPlusPlus/1.thread)
|
||||
- [创建线程的五种类型](./Threading_In_CPlusPlus/2.create_type)
|
||||
@@ -154,9 +159,19 @@
|
||||
>
|
||||
> https://www.youtube.com/watch?v=eZ8yKZo-PGw&list=PLk6CEY9XxSIAeK-EAh3hB4fgNvYkYmghp&index=4
|
||||
|
||||
### 5.学习课程
|
||||
### 5. [C++惯用法](./codingStyleIdioms)
|
||||
|
||||
#### 5.1 [极客时间《现代C++实战30讲》](https://time.geekbang.org/channel/home)
|
||||
##### 你最喜欢的c++编程风格惯用法是什么?
|
||||
|
||||
- [1.类初始化列表](./codingStyleIdioms/1_classInitializers)
|
||||
- [2.枚举类替换命名空间](./codingStyleIdioms/2_enumclass_namespace)
|
||||
- [3.RAII(资源获取即初始化)](./codingStyleIdioms/3_RAII)
|
||||
- [4.copy and swap](./codingStyleIdioms/4_copy-swap)
|
||||
- [5.pImpl(指针指向具体实现)](./codingStyleIdioms/5_pImpl)
|
||||
|
||||
### 6.学习课程
|
||||
|
||||
#### 6.1 [极客时间《现代C++实战30讲》](https://time.geekbang.org/channel/home)
|
||||
|
||||
- [堆、栈、RAII:C++里该如何管理资源?](./modern_C++_30/RAII)
|
||||
- [堆](./modern_++_30/RAII/heap.cpp)
|
||||
@@ -184,53 +199,43 @@
|
||||
- [函数对象和lambda:进入函数式编程](./modern_C++_30/functionLambda)
|
||||
- [内存模型和atomic:理解并发的复杂性](./modern_C++_30/memorymodel_atomic)
|
||||
|
||||
### 6.拓展部分
|
||||
### 7.工具篇
|
||||
|
||||
#### 6.1 [C++惯用法](./codingStyleIdioms)
|
||||
#### 7.1 [容器快捷输出工具](./tool/output)
|
||||
|
||||
##### 你最喜欢的c++编程风格惯用法是什么?
|
||||
对吴老师的代码进行了修改,[点击此处直通代码](./tool/output/output_container.h)
|
||||
|
||||
- [1.类初始化列表](./codingStyleIdioms/1_classInitializers)
|
||||
- [2.枚举类替换命名空间](./codingStyleIdioms/2_enumclass_namespace)
|
||||
- [3.RAII(资源获取即初始化)](./codingStyleIdioms/3_RAII)
|
||||
- [4.copy and swap](./codingStyleIdioms/4_copy-swap)
|
||||
- [5.pImpl(指针指向具体实现)](./codingStyleIdioms/5_pImpl)
|
||||
输入:
|
||||
|
||||
#### 6.2 一些问题
|
||||
```cpp
|
||||
map<int, int> mp{
|
||||
{1, 1},
|
||||
{2, 4},
|
||||
{3, 9}};
|
||||
cout << mp << endl;
|
||||
```
|
||||
|
||||
输出结果显示:
|
||||
|
||||
```cpp
|
||||
{ 1 => 1, 2 => 4, 3 => 9 }
|
||||
```
|
||||
|
||||
#### 7.2 像Python一样简单输出
|
||||
|
||||
- [像Python一样玩C/C++](./tool/像Python一样玩CC++.md)
|
||||
|
||||
#### 7.3 观察编译过程变化
|
||||
|
||||
- [https://cppinsights.io](https://cppinsights.io/)
|
||||
|
||||
### 8.拓展部分
|
||||
|
||||
#### 8.1 一些问题
|
||||
|
||||
- [C++中如何将string类型转换为int类型?](./basic_content/extent/string_int.md)
|
||||
|
||||
### 7.工具篇
|
||||
|
||||
- [容器快捷输出工具](./tool/output)
|
||||
|
||||
对吴老师的代码进行了修改,[点击此处直通代码](./tool/output/output_container.h)
|
||||
|
||||
输入:
|
||||
|
||||
```cpp
|
||||
map<int, int> mp{
|
||||
{1, 1},
|
||||
{2, 4},
|
||||
{3, 9}};
|
||||
cout << mp << endl;
|
||||
```
|
||||
|
||||
输出结果显示:
|
||||
|
||||
```cpp
|
||||
{ 1 => 1, 2 => 4, 3 => 9 }
|
||||
```
|
||||
|
||||
- 像Python一样简单输出
|
||||
|
||||
- [像Python一样玩C/C++](./tool/像Python一样玩CC++.md)
|
||||
|
||||
- 观察编译过程变化
|
||||
|
||||
- [https://cppinsights.io](https://cppinsights.io/)
|
||||
|
||||
### 8.代码运行
|
||||
### 9.代码运行
|
||||
|
||||
- **代码环境**
|
||||
|
||||
@@ -240,7 +245,7 @@
|
||||
|
||||
CLion gcc/g++
|
||||
|
||||
### 9.关于作者
|
||||
### 10.关于作者
|
||||
|
||||
个人公众号:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user