Is there a real platform/compiler combo that defines int as 64 bits? Or is this just used to scare new programmers like myself into using int32_t where size matters (e.g. saving to a file) in order to make it “portable”?
Is there a real platform/compiler combo that defines int as 64 bits? Or is
Share
There absolutely are such systems. There may be more in the future (or there may not). And do you want to take a bet on what
intwill be on a possible 128-bit architecture?Wikipedia has an incomplete-but-useful rundown: http://en.wikipedia.org/wiki/64-bit#64-bit_data_models