mirror of
https://github.com/wangdoc/clang-tutorial.git
synced 2026-02-13 07:35:51 +08:00
docs(intro): fixed #15
This commit is contained in:
@@ -80,7 +80,7 @@ C11 标准在2017年进行了修补,但发布是在2018年。新版本只是
|
||||
|
||||
(7)C2x
|
||||
|
||||
标准化组织正在讨论 C 语言的下一个版本,可能会在近期通过,到时就会称为 C21 或 C22。
|
||||
标准化组织正在讨论 C 语言的下一个版本,据说可能会在2023年通过,到时就会称为 C23。
|
||||
|
||||
## C 语言的编译
|
||||
|
||||
@@ -139,7 +139,7 @@ Hello World
|
||||
GCC 的`-std=`参数还可以指定按照哪个 C 语言的标准进行编译。
|
||||
|
||||
```bash
|
||||
$ gcc -std=C99 hello.c
|
||||
$ gcc -std=c99 hello.c
|
||||
```
|
||||
|
||||
上面命令指定按照 C99 标准进行编译。
|
||||
|
||||
Reference in New Issue
Block a user