vc++的Windows数据类型中,DWORD与UNIT有什么区别

2024-12-02 13:35:36
推荐回答(1个)
回答1:

char-128~+127(1Byte)short-32767~+32768(2Bytes)unsignedshort0~65536(2Bytes)int-2147483648~+2147483647(4Bytes)unsignedint0~4294967295(4Bytes)long==intlonglong-9223372036854775808~+9223372036854775807(8Bytes)double1.7*10^308(8Bytes)unsignedint0~4294967295longlong的最大值:9223372036854775807longlong的最小值:-9223372036854775808unsignedlonglong的最大值:1844674407370955161__int64的最大值:9223372036854775807__int64的最小值:-9223372036854775808unsigned__int64的最大值:18446744073709551615