Author: David Rasmussen
Date: 13:07:18 03/19/01
Go up one level in this thread
On March 19, 2001 at 14:22:20, Miguel A. Ballicora wrote: >> >>An int is assured to be at least 32 bits by the ANSI standard. > >It is 16, but anyway the problem would be that the standard guarantees "at >least" a number (16 for int, 32 for long int). That means that in another An int with no size modifier is a long int, not a short int, just as it is signed if there are no signed/unsigned modifiers. So declaring "int a;" gives a variable which is at least 32 bits. >system >it could be bigger, corrupting the reading (if it is done by >sizeof(whatevertype) ) > > >But endianness still is a problem. > Yes. >Regards, >Miguel
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.