c++數據類型

char             -128 ~ +127        (1 Byte)

short             -32767 ~ + 32768    (2 Bytes)

unsigned short     0 ~ 65536        (2 Bytes)

long == int

int             -2147483648 ~ +2147483647   (4 Bytes)

unsigned int         0 ~ 4294967295    (4 Bytes)

long long         -9223372036854775808 ~ +9223372036854775807    (8 Bytes)

double         1.7 * 10^308        (8 Bytes)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章