PDA

View Full Version : __int64 compiler support?


botmeister
21-01-2004, 21:47
In some cases 32 bit intergers are just not big enough, and using the 64 bit integer is mighty tempting. However I want to make sure my code is reasonably cross platform compatible especially with most Linux based systems.

Anyone know how well supported is the __int64 integer type (or equivalent) accross C++ compilers?

@$3.1415rin
21-01-2004, 22:31
take a look at my HPTime code :)

for gcc you can use "long long"
for MSVC, you can use __int64

botmeister
22-01-2004, 09:54
OK thanks for the info @$3.1415rin :) It seems that most C++ compilers provide support for a 64 bit integer.

I am looking at your profiler, very interesting code.