Paul Herring wrote: > On Wed, May 28, 2008 at 12:32 AM, John Gaughan <[EMAIL PROTECTED]> wrote: >> odbapsvm wrote: >>> Can someone tell me what controls the >>> size of an int in C language? >>> >> ISO/IEC Standard 9899 controls this. > > Slightly misleading. It only specifies minimum sizes.
One of the things I really dislike about the ANSI C/C++ Standard is that there is no way to define your own data types in bits. You could use a struct bitfield but you are still limited to the maximum int size for the compiler (e.g. you can't simply declare a 1726-bit integer). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
