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

64λϵͳ long int

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

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

64λϵͳCintռ4ֽڣ32λ32λϵͳû 64λϵͳ£64λб봦ʱ仯ıǣlong 32λϵͳ£longռ4ֽڣ32λintͬ 64λϵͳ£longռ8ֽڣ64λзȡֵΧ-9...

64λϵͳ,longһ8ֽڣҪ飡ϵͳ gdb p sizeof(long) ֪

ÿõʲôԺʲô. ˵, C/C++32λ. longдӦ long int long intint32λ¶4ֽ,Чȫͬ,ȡֵΧҲһ. ϾͿܲһ. long int̶Ϊ32...

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

Int Χ-2147483648 ~ 2147483647Long Χ-9223372036854775808 ~ 9223372036854775807public class TestSystem.out.println("Int Χ"+Integer.MIN_VALUE+" ~ "+Integer.MAX_VALUE)System.out.println("Long Χ...

clong long(int64)int(int32)֮ΰȫĻתҪ ϸ£ int32ֵint64Ϊint64ıʾΧ󣬴ʱֱӸֵһȫ int64ֵint32int64еֵint32ıʾΧû⣬...

£ ռڴ泤ȲͬȡֵΧͬ 32λϵͳlong4ֽ32λint4ֽ32λ 64λϵͳlong8ֽ64λint4ֽ32λ

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

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