what is int32_t? and why can't different vendor just use int?
Hi.
I am trying to use a random class from boost::random.
Many of the variables in boost::Random's header files use variable of type int32_t.
I am using VC++ and couldnt find where int32_t is defined.
Google int32_t give thousands of unrelated pages. I search gcc manual, and also couldnt find the definition of this type.
What's the benefit of defining type with different name like __int32 in vc++, and int32_t in ...?
Where is int32_t defined? Is it only for linux os?
I dont even know where to look for int32_t, int64_t. What kind of document should I look for (iso c++ standard, ...)?
Thanks a lot for reading though all those questions above.
: )
regards,
Sam
Re: what is int32_t? and why can't different vendor just use int?
int32_t is defined in boost, so when you use any boost functionality you will get boost::int32_t. There more of those typedef and you can look in for more.
Re: what is int32_t? and why can't different vendor just use int?
Re: what is int32_t? and why can't different vendor just use int?
Quote:
Originally Posted by SamWo123
I am trying to use a random class from boost::random.
Many of the variables in boost::Random's header files use variable of type int32_t.
I am using VC++ and couldnt find where int32_t is defined.
I hope you did not get compilation errors because of that else you might want to report that to boost mailing list.