Skip to content

Commit 3f51c5e

Browse files
committed
see changkun#2: typo fixes
1 parent 9779283 commit 3f51c5e

17 files changed

+68
-53
lines changed

book/en-us/03-runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ order: 3
66

77
# Chapter 03: Language Runtime Enhancements
88

9-
[Table of Content](./toc.md) | [Previous Chapter](./02-usability.md) | [Next Chapter: Sandard Library: Containers](./04-containers.md)
9+
[Table of Content](./toc.md) | [Previous Chapter](./02-usability.md) | [Next Chapter: Standard Library: Containers](./04-containers.md)
1010

1111
## Further Readings
1212

book/en-us/04-containers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: "Chapter 04 Sandard Library: Containers"
2+
title: "Chapter 04 Standard Library: Containers"
33
type: book-en-us
44
order: 4
55
---
66

7-
# Chapter 04 Sandard Library: Containers
7+
# Chapter 04 Standard Library: Containers
88

9-
[Table of Content](./toc.md) | [Previous Chapter](./03-runtime.md) | [Next Chapter: Sandard Library: Pointers](./05-pointers.md)
9+
[Table of Content](./toc.md) | [Previous Chapter](./03-runtime.md) | [Next Chapter: Standard Library: Pointers](./05-pointers.md)
1010

1111
## Further Readings
1212

book/en-us/05-pointers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: "Chapter 05 Sandard Library: Pointers"
2+
title: "Chapter 05 Standard Library: Pointers"
33
type: book-en-us
44
order: 5
55
---
66

7-
# Chapter 05 Sandard Library: Pointers
7+
# Chapter 05 Standard Library: Pointers
88

9-
[Table of Content](./toc.md) | [Previous Chapter](./04-containers.md) | [Next Chapter: Sandard Library: Regular Expression](./06-regex.md)
9+
[Table of Content](./toc.md) | [Previous Chapter](./04-containers.md) | [Next Chapter: Standard Library: Regular Expression](./06-regex.md)
1010

1111
## Further Readings
1212

book/en-us/06-regex.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: "Chapter 06 Sandard Library: Regular Expression"
2+
title: "Chapter 06 Standard Library: Regular Expression"
33
type: book-en-us
44
order: 6
55
---
66

7-
# Chapter 06 Sandard Library: Regular Expression
7+
# Chapter 06 Standard Library: Regular Expression
88

9-
[Table of Content](./toc.md) | [Previous Chapter](./05-pointers.md) | [Next Chapter: Sandard Library: Threads and Concurrency](./07-thread.md)
9+
[Table of Content](./toc.md) | [Previous Chapter](./05-pointers.md) | [Next Chapter: Standard Library: Threads and Concurrency](./07-thread.md)
1010

1111
## Further Readings
1212

book/en-us/07-thread.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: "Chapter 07 Sandard Library: Threads and Concurrency"
2+
title: "Chapter 07 Standard Library: Threads and Concurrency"
33
type: book-en-us
44
order: 7
55
---
66

7-
# Chapter 07 Sandard Library: Threads and Concurrency
7+
# Chapter 07 Standard Library: Threads and Concurrency
88

9-
[Table of Content](./toc.md) | [Previous Chapter](./06-regex.md) | [Next Chapter: Sandard Library: File System](./08-filesystem.md)
9+
[Table of Content](./toc.md) | [Previous Chapter](./06-regex.md) | [Next Chapter: File System](./08-filesystem.md)
1010

1111
## Further Readings
1212

book/en-us/08-filesystem.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
---
2-
title: "Chapter 08 Sandard Library: File System"
2+
title: "Chapter 08 File System"
33
type: book-en-us
44
order: 8
55
---
66

7-
# Chapter 08 Sandard Library: File System
7+
# Chapter 08 File System
8+
9+
[TOC]
10+
11+
The file system library provides functions related to
12+
the operation of the file system, path, regular files, directories, and so on.
13+
Similar to the regular expression library, he was one of the first libraries
14+
to be launched by boost and eventually merged into the C++ standard.
15+
16+
## 8.1 Document and Link
17+
18+
TODO:
19+
20+
## 8.2 std::filesystem
21+
22+
TODO:
823

924
[Table of Content](./toc.md) | [Previous Chapter](./07-thread.md) | [Next Chapter: Minor Features](./09-others.md)
1025

book/en-us/09-others.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ so most compilers already support it.
1818
C++11 now formally incorporate it into the standard library,
1919
specifying a `long long int` type with at least 64 bits.
2020

21-
## 9.2 `noexcept` Operations
21+
## 9.2 `noexcept` and Its Operations
2222

2323
One of the big advantages of C++ over C is that
2424
C++ itself defines a complete set of exception handling mechanisms.
@@ -106,7 +106,7 @@ exception captured, from non_block_throw()
106106

107107
## 9.3 Literal
108108

109-
### String Literal
109+
### Raw String Literal
110110

111111
In traditional C++, it is very painful to write a string full of
112112
special characters. For example, a string containing HTML ontology

book/en-us/10-cpp20.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ void sort(Sortable& c); // c is a Sortable type object
6666
6767
Let's look at a practical example.
6868
69-
TODO
69+
TODO:
7070
7171
## Module
7272
73-
TODO
73+
TODO:
7474
7575
## Contract
7676
77-
TODO
77+
TODO:
7878
7979
## Range
8080
81-
TODO
81+
TODO:
8282
8383
## Coroutine
8484
85-
TODO
85+
TODO:
8686
8787
## Conclusion
8888

book/en-us/appendix2.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ In this appendix we will briefly talk about the best practices of modern C++. In
1010

1111
## Common Tools
1212

13-
TODO
13+
TODO:
1414

1515
## Coding Style
1616

17-
TODO
17+
TODO:
1818

1919
## Overall Performance
2020

21-
TODO
21+
TODO:
2222

2323
## Code Security
2424

25-
TODO
25+
TODO:
2626

2727
## Maintainability
2828

29-
TODO
29+
TODO:
3030

3131
## Portability
3232

33-
TODO
33+
TODO:
3434

3535
[Table of Content](./toc.md) | [Previous Chapter](./appendix1.md)
3636

book/en-us/toc.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
+ rvalue reference & lvalue reference
5555
+ Move semantics
5656
+ Perfect forwarding
57-
- [**Chapter 04 Sandard Library: Containers**](./04-containers.md)
57+
- [**Chapter 04 Standard Library: Containers**](./04-containers.md)
5858
+ 4.1 `std::array` and `std::forward_list`
5959
+ 4.2 Unordered containers
6060
+ `std::unordered_set`
@@ -63,11 +63,11 @@
6363
+ basic operation
6464
+ runtime indexing
6565
+ merge and iteration
66-
- [**Chapter 05 Sandard Library: Pointers**](./05-pointers.md)
66+
- [**Chapter 05 Standard Library: Pointers**](./05-pointers.md)
6767
+ 5.1 RAII and reference counting
6868
+ 5.2 `std::shared_ptr`
6969
+ 5.3 `std::unique_ptr`
70-
- [**Chapter 06 Sandard Library: Regular Expression**](./06-regex.md)
70+
- [**Chapter 06 Standard Library: Regular Expression**](./06-regex.md)
7171
+ 6.1 Regular Expression Introduction
7272
+ Normal characters
7373
+ Special characters
@@ -84,16 +84,16 @@
8484
+ 7.5 `std::atomic` and memory order
8585
+ 7.6 Transactional memory
8686
+ 7.7 Coroutine
87-
- [**Chapter 08 Sandard Library: File System**](./08-filesystem.md)
87+
- [**Chapter 08 File System**](./08-filesystem.md)
8888
+ 8.1 Documents and links
8989
+ 8.2 `std::filesystem`
9090
- [**Chapter 09 Minor Features**](./09-others.md)
9191
+ 9.1 New Types
9292
+ `long long int`
93-
+ 9.2 `noexcept` and its operates
93+
+ 9.2 `noexcept` and Its Operations
9494
+ 9.3 Literal
95-
+ Raw string literal
96-
+ Custom string literal
95+
+ Raw String Literal
96+
+ Custom String Literal
9797
+ 9.4 Math Library
9898
- [**Chapter 10 Outlook: Introduction of C++20**](./10-cpp20.md)
9999
+ Concept

book/zh-cn/07-thread.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ auto f = pool.enqueue([](int life) {
197197
std::cout << f.get() << std::endl;
198198
```
199199

200-
[返回目录](./toc.md) | [上一章](./06-regex.md) | [下一章 标准库:文件系统](./08-filesystem.md)
200+
[返回目录](./toc.md) | [上一章](./06-regex.md) | [下一章 文件系统](./08-filesystem.md)
201201

202202
## 进一步阅读的参考资料
203203

book/zh-cn/08-filesystem.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
---
2-
title: 第 8 章 标准库:文件系统
2+
title: 第 8 章 文件系统
33
type: book-zh-cn
44
order: 8
55
---
66

7-
# 第 8 章 标准库:文件系统
8-
9-
> TODO: 这部分内容为 C++17 新增
7+
# 第 8 章 文件系统
108

119
[TOC]
1210

1311
文件系统库提供了文件系统、路径、常规文件、目录等等相关组件进行操作的相关功能。和正则表达式库类似,他也是最先由 boost 发起,并最终被合并为 C++ 标准的众多库之一。
1412

1513
## 8.1 文档与链接
1614

17-
15+
TODO:
1816

1917
## 8.2 std::filesystem
2018

19+
TODO:
20+
2121
[返回目录](./toc.md) | [上一章](./07-thread.md) | [下一章 其他杂项](./09-others.md)
2222

2323
## 许可

book/zh-cn/10-cpp20.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,23 @@ void sort(Sortable& c); // c 是一个 Sortable 类型的对象
5555
5656
我们现在来看一个实际的例子。
5757
58-
TODO
58+
TODO:
5959
6060
## 模块
6161
62-
TODO
62+
TODO:
6363
6464
## 合约
6565
66-
TODO
66+
TODO:
6767
6868
## 范围
6969
70-
TODO
70+
TODO:
7171
7272
## 协程
7373
74-
TODO
74+
TODO:
7575
7676
## 总结
7777

book/zh-cn/appendix2.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ order: 12
1010

1111
## 常用工具
1212

13-
TODO
13+
TODO:
1414

1515
## 代码风格
1616

17-
TODO
17+
TODO:
1818

1919
## 整体性能
2020

21-
TODO
21+
TODO:
2222

2323
## 代码安全
2424

25-
TODO
25+
TODO:
2626

2727
## 可维护性
2828

29-
TODO
29+
TODO:
3030

3131
## 可移植性
3232

33-
TODO
33+
TODO:
3434

3535
[返回目录](./toc.md) | [上一章](./11-appendix1.md)
3636

book/zh-cn/toc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
+ 7.5 `std::atomic` 与内存顺序
8585
+ 7.6 事务内存
8686
+ 7.7 协程
87-
- [**第 8 章 标准库: 文件系统**](./08-filesystem.md)
87+
- [**第 8 章 文件系统**](./08-filesystem.md)
8888
+ 8.1 文档与链接
8989
+ 8.2 `std::filesystem`
9090
- [**第 9 章 其他杂项**](./09-others.md)

pdf/en-us/modern-cpp-tutorial.pdf

25 KB
Binary file not shown.

pdf/zh-cn/modern-cpp-tutorial.pdf

-2.36 KB
Binary file not shown.

0 commit comments

Comments
 (0)