2. BASIC INPUT/OUTPUT
Scanf()
Same table→
種 類 表 示 法 功 能 敘 述
整 數(integer)
d BY Decimal
o By octal
x By hexadecimal
u By unsigned Decimal
l By long
浮點數(float)
f By float
e By scientic notation
字元(char)
c By char
s By string
其他(other)
- Aligen text left
dd Stable width
. Nothing fuck
*.* For accurently float
3. BASIC INPUT/OUTPUT
-PRINTF()
種 類 表 示 法 功 能 敘 述
整 數(integer)
d BY Decimal
o By octal
x By hexadecimal
u By unsigned Decimal
l By long
浮點數(float)
f By float
e By scientic notation
字元(char)
c By char
s By string
其他(other)
- Aligen text left
dd Stable width
. Nothing fuck
*.* For accurently float