Skip to content

Commit 9ded3a2

Browse files
authored
pdf: fix rendering issue due to line break (#170)
Fixes #149
1 parent 6b73213 commit 9ded3a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

book/zh-cn/01-intro.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ InstalledDir: /Library/Developer/CommandLineTools/usr/bin
2525
> **注意**:弃用并非彻底不能用,只是用于暗示程序员这些特性将从未来的标准中消失,应该尽量避免使用。但是,已弃用的特性依然是标准库的一部分,并且出于兼容性的考虑,大部分特性其实会『永久』保留。
2626
2727
- **不再允许字符串字面值常量赋值给一个 `char *`。如果需要用字符串字面值常量赋值和初始化一个 `char *`,应该使用 `const char *` 或者 `auto`**
28+
2829
```cpp
2930
char *str = "hello world!"; // 将出现弃用警告
3031
```

0 commit comments

Comments
 (0)