OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1007811
)
Update basic.md
author
lihaoyu1234
<50037056+lihaoyu1234@users.noreply.github.com>
Tue, 8 Oct 2019 06:33:56 +0000
(06:33 +0000)
committer
GitHub
<noreply@github.com>
Tue, 8 Oct 2019 06:33:56 +0000
(06:33 +0000)
修正
docs/lang/basic.md
patch
|
blob
|
history
diff --git
a/docs/lang/basic.md
b/docs/lang/basic.md
index
111ab6c
..
d72f849
100644
(file)
--- a/
docs/lang/basic.md
+++ b/
docs/lang/basic.md
@@
-129,10
+129,10
@@
int main() {
1. `%s` 表示字符串。
2. `%c` 表示字符。
-3. `%lf` 表示双精度浮点数
( `double` )
。
+3. `%lf` 表示双精度浮点数
( `double` )
。
4. `%lld` 表示长整型 ( `long long` )。根据系统不同,也可能是 `%I64d` 。
5. `%u` 表示无符号整型 ( `unsigned int` )。
-6. `%
ull` 表示无符号长整型 ( `unsigned long long` )
。
+6. `%
llu` 表示无符号长整型 ( `unsigned long long` ),也可能是 `%I64u`
。
特殊地,还有一些控制格式的方式: