Merge branch 'master' of https://git.coding.net/lion187/NotePublic
This commit is contained in:
commit
d8a40b6e1d
|
@ -0,0 +1,15 @@
|
||||||
|
# C 标准输入输出及格式化说明
|
||||||
|
|
||||||
|
## 格式化
|
||||||
|
|
||||||
|
%[flags][width][.prec][length]type
|
||||||
|
|
||||||
|
即:
|
||||||
|
|
||||||
|
%[标志][最小宽度][.精度][类型长度]类型
|
||||||
|
|
||||||
|
### 类型长度length
|
||||||
|
|
||||||
|
| length | Description |
|
||||||
|
|--------|-------------|
|
||||||
|
| h | 长度缩减一半,如 %hu 为 16 位无符号整数,%hhu 为 8 位无符号整数 |
|
Loading…
Reference in New Issue