If i want to use something like below in a C code:
if(num < 0x100000000LL)
I want the comparison to happen on a long long constant, but suffix LL doesn’t work in MSVC6.0 , but it works in MS Visual Studio 2005.
How can i get it working in MSVC 6.0?
-Ajit
AFAIK, long long isn’t supported in MSVC 6.0.
For example, have a look at this discussion thread. Perhaps, __int64 works instead. Anyway, I wouldn’t know which other suffix to use.
EDIT: __int64 seems to work and for the supporting functions, it seems that no suffix is needed at all. Have a look here, for example. There’s also some workaround at the end of this page.