Re: int64_t == long long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  cout << sizeof(int64_t) << endl;
>  cout << sizeof(long long) << endl;
>
> print:
>
> 8
> 8


8*8 = 64

sizeof reports the # of bytes, not bits.
wes

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux