integers

what are _int32 and _int64
int32 is a 32 bit integer... when you declare "int" you are technically declaring an int32. int64 is a 64 bit integer. when you declare "long" you are technically declaring an int64. also there is int16 which is the same as "short." First link on google, didn't even have to click it http://www.google.com/search?q=_int32+compared+to+_int64&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&surl=1&safe=active
closed account (zb0S216C)
A 32-bit integer and a 64-bit integer. See here: http://msdn.microsoft.com/en-us/library/29dh1w7z(v=vs.80).aspx

Wazzak
it depends on your compiler, but visual studio uses these as reserved words.

_int32 is really just a 32 bit integer, it can also be represented by: signed, signed int, or int
_int64 is really just a 64 bit integer, it can also be represented by: long long or signed long long

See this for more inforation:
http://msdn.microsoft.com/en-us/library/s3f49ktz(v=vs.80).aspx
Last edited on
Can we use _int128?
There is no such type.
it is declared in limits.h
Hm, just checked. There is, it isn't just listed in the MSDN. So probably you can use it.
But how to use it,compiler gives error
undeclared identifier
These are not standard C++ types.

In C++11 you can use std::int32_t, std::int64_t, etc. if you include the cstdint header and your compiler support these types.
So it probably had a reason for not to be listed on the MSDN.
Topic archived. No new replies allowed.