dfkt.net
ǰλãҳ >> 64λϵͳ long int >>

64λϵͳ long int

ڵIJϵͳ16λϵͳ intöֽڱʾΧ-32768~32767 long4ֽڱʾΧ-2147483648~2147483647 չ32λϵͳ int 4ֽڱʾlongͬ ĿǰIJϵͳѷչ64λϵͳ빤յIJͬ...

㶮intͰɣint ڴռֽ Χ-32768~32767 long longڴռ˸ֽڣ Χ-922337203685775808~922337203685775807 long long intбֵ֧ģЩ֧͵ģ֧֣Ҳģ֧֣...

ͬıݲͬ 64 λģͬ Visual C++ӵһ֧ 64 λİ汾һֱʹ LLP64 ڴģͣҲ˵Ĵ longlong ָ 64 λint 32 λ䡣 ´õ #include int ...

longlong֧ʮ´Լ19λ ҪǿԴµ long long Ϊ64λͣһlong longΪ64λڸԭ򣬵һλΪλ63λáȡֵΧΪ-2^632^63-1 ȡ2^10Լ1000һ㣬Ϊ9x10^18ô...

64λϵͳλָCPU ͨüĴݿΪ64λҲ˵һַռλ64sizeof(double *)==sizeof(int *)==sizeof(char *)==64/8==8 32λϵͳͬһַռ32λƿռ䣬sizeof(double *)==sizeof...

64λϵͳ£intΪ֮ǰļݣռ4ֽ32λlongչ8ֽ64λ ߲ͬ 1 ռռ䲻ͬһ֮ǰѾ˵ˣ 2 ﷶΧͬ ռռ䲻ͬlongԱʾķΧΪ int ΧΪ-2147483648~2147483647...

ͻֳйϵ ԣintlong intshort intĿȶ졣мԭANSI/ISOƶģ 1 sizeof(short int)

long long ͵ķΧǣ-9223372036854775808~9223372036854775807 ֻԿunsigned long longΧ:0~18446744073709551615 ҪֿԿʹ ο http://baike.baidu.com/link?url=k8baz...

ڵIJϵͳ16λϵͳ intöֽڱʾΧ-32768~32767 long4ֽڱʾΧ-2147483648~2147483647 չ32λϵͳ int 4ֽڱʾlongͬ ĿǰIJϵͳѷչ64λϵͳ빤յIJͬ...

int ռ4ֽڣlong intռ8ֽ ... cԣintռ2ֽڣlong intռ4ֽڡ javailong 32λϵͳһΪ464λϵͳһλ 8 int һ㶼Ϊ 4nt ռ4ֽڣlong int ռ8512Ӧ1KB 1KB1024BB...

վҳ | վͼ
All rights reserved Powered by www.dfkt.net
copyright ©right 2010-2021
磬ַϵͷzhit325@qq.com