May 7, 2012 at 2:29pm UTC
what are _int32 and _int64
May 7, 2012 at 2:34pm UTC
A 32-bit integer and a 64-bit integer. See here: http://msdn.microsoft.com/en-us/library/29dh1w7z(v=vs.80).aspx
Wazzak
May 7, 2012 at 2:36pm UTC
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 May 7, 2012 at 2:36pm UTC
May 8, 2012 at 1:43pm UTC
it is declared in limits.h
May 8, 2012 at 1:45pm UTC
Hm, just checked. There is, it isn't just listed in the MSDN. So probably you can use it.
May 9, 2012 at 2:08pm UTC
But how to use it,compiler gives error
undeclared identifier
May 9, 2012 at 2:13pm UTC
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.
May 9, 2012 at 3:52pm UTC
So it probably had a reason for not to be listed on the MSDN.