Skip to content

Commit

Permalink
Merge pull request OI-wiki#1749 from lihaoyu1234/patch-6
Browse files Browse the repository at this point in the history
Update basic.md
  • Loading branch information
AngelKitty authored Oct 8, 2019
2 parents f64449a + a777679 commit 4b352f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/lang/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

特殊地,还有一些控制格式的方式:

Expand Down

0 comments on commit 4b352f0

Please sign in to comment.