Thread: Integer Size
View Single Post
  #1 (permalink)  
Old October 14th, 2005, 10:03 PM
Miquella Miquella is offline
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Integer Size

I have need to program on a cross-platform basis. I am coding on Windows/OSX/Linux, unfortunately the size of certain data types can vary between these OS's and compilers.

I have found a way to ensure the size of the datatypes on Windows: __intn and on OSX: uintn/sintn, but I am wondering if there is a ISO standard size defined numeric type?

Thanks for your time,
Miq
Reply With Quote