what are _int32 and _int64
A 32-bit integer and a 64-bit integer. See here: http://msdn.microsoft.com/en-us/library/29dh1w7z(v=vs.80).aspx
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:
_int64 is really just a 64 bit integer, it can also be represented by:
signed long long
See this for more inforation:
Last edited on
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
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.