I have a bunch of int's in my c++ code that I need to change to int32's. Same with my bool's. What header do I need to include in order to use int32's and bool32's. Also how do I declare these once I make them. Am I able to just replace the int's with int32's?
For example:
int x;
Becomes
int32 x;
I am getting lots of errors when I try to change from int to int32. Here's a few:
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2086: 'const int x' : redefinition
On windows you should be able to use the built in type __int32. I've never hear of a 32 bit bool, but you can just use typedef for that one.