S
SpreadTooThin
I am used to coding by defining my own integer data types. For
example:
u8bit is unsigned char
u16bit is unsigned short
u32bit is unsigned long or int
With the introduction of 64 bit architectures I'm curious as to what
one should use for 64 bit integers.
I've been codeing on Macs for a while now and I've noticed some
datatypes like __64bitint__
(Don't remember exactly)
XCode I believe is calling g++ compiler.
What does the c++ standard say or recommend that one uses for larger
integer datatypes..
I'm worried that some were I've defined a int and was expecting a 16
or 32 bit I may actually be getting (eventually) a 64 bit.
I want my code to be very specific about the size of the integers it
is declaring.
example:
u8bit is unsigned char
u16bit is unsigned short
u32bit is unsigned long or int
With the introduction of 64 bit architectures I'm curious as to what
one should use for 64 bit integers.
I've been codeing on Macs for a while now and I've noticed some
datatypes like __64bitint__
(Don't remember exactly)
XCode I believe is calling g++ compiler.
What does the c++ standard say or recommend that one uses for larger
integer datatypes..
I'm worried that some were I've defined a int and was expecting a 16
or 32 bit I may actually be getting (eventually) a 64 bit.
I want my code to be very specific about the size of the integers it
is declaring.