新增了文档目录,并且写了一点第三节

This commit is contained in:
lzy
2024-03-18 14:31:44 +08:00
parent 96ee4eb84e
commit ad3056a8b8
4 changed files with 160 additions and 49 deletions

View File

@@ -0,0 +1,32 @@
# 目录
- [目录](#目录)
- [第三章 输入输出专题](#第三章-输入输出专题)
- [内容](#内容)
- [格式化输入输出函数](#格式化输入输出函数)
# 第三章 输入输出专题
input & output -> I/O(标准IO文件IO)
## 内容
1. 格式化输入输出函数:`scanf`,`printf`
2. 字符输入输出函数:`getchar`,`putchar`
3. 字符串输入输出函数:`gets(!)``puts`
## 格式化输入输出函数
![标准输出格式字符](https://s2.loli.net/2024/03/18/OMiu6CUDZy5RH3P.png)
![标准输出修饰符](https://s2.loli.net/2024/03/18/Z6gVaw1AOJ87Uil.png)
```c
int printf(const char *format, ...);
format: "%【修饰符】格式字符"
```