关于C++的各个类型字节(转)

名称 占的字节数
bool 1
char 1
wchar_t 4
char16_t 2
char32_t 4
signed char 1
short 2
int 4
long 4
long long 8
unsigned char 1
unsigned short 2
unsigned 4
unsigned long 4
unsigned long long 8
float 4
double 8
long double 16
void 1
nullptr_t 8
size_t 8
上一篇:周鸿祎携奇酷手机卷土重来,雷军 Are You OK ?


下一篇:PID算法