.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Programming (http://forums.bots-united.com/forumdisplay.php?f=25)
-   -   __int64 compiler support? (http://forums.bots-united.com/showthread.php?t=446)

botmeister 21-01-2004 20:47

__int64 compiler support?
 
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 21:31

Re: __int64 compiler support?
 
take a look at my HPTime code :)

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

botmeister 22-01-2004 08:54

Re: __int64 compiler support?
 
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.


All times are GMT +2. The time now is 14:41.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.