利用表格彻底搞懂 size_t / ssize_t、int8_t / uint8_t、int16_t / uint16_t ......

int_t 类
SpecifierCommon EquivalentSigningBitsBytesMinimum ValueMaximum Value
int8_tsigned charSigned81-128127
uint8_tunsigned charUnsigned810255
int16_tshortSigned162-32,76832,767
uint16_tunsigned shortUnsigned162065,535
int32_tintSigned324-2,147,483,6482,147,483,647
uint32_tunsigned intUnsigned32404,294,967,295
int64_tlongSigned648-9,223,372,036,854,775,8089,223,372,036,854,775,807
uint64_tunsigned longUnsigned648018,446,744,073,709,551,615
size_t、ssize_t 类
SpecifierCommon EquivalentMachines BitsRange
size_ttypedef unsigned int32位机器见上表
size_ttypedef unsigned long64位机器见上表
ssize_ttypedef int32位机器见上表
ssize_ttypedef long64位机器见上表
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值