Monday, May 24, 2010

__int64 data type?

when I use __int64 data type in visual c++ 6 , it gives me an error :


"Operator %26lt;%26lt; is ambiguous " what must I do?

__int64 data type?
If the result isn't using the full 64 bits, cast back to int ie





"%26lt;%26lt;(INT)variable" or this may work for pos "%26lt;%26lt;(LONG)variable"
Reply:This is a microsoft specific data type .


Its 64 bit integer likewise you can get __int 128 etc.








But remember they are microsoft specific. So they are valid in microsoft VC++, visula studio


No comments:

Post a Comment