Re: Does Cygwin's GCC support 64-bit constants?

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

 



Hi Nate,

Use this:

#include <stdint.h>
const int64_t myvar = INT64_C(0xFF00000000000000);

Note, <stdint.h> is part of C99, it's in GCC 3.3 (maybe earlier), and you can use <stdint.h> in your C++ program. That's <stdint.h> in C++, not <cstdint> as one my presuppose ... not yet at least.

HTH,
--Eljay


[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