Unfortunately ISO C 1999 wasn't available in 1984 - I think that ints were 2 bytes long on 68000 based systems C compilers at the time.
And, of course, all of you who've used Harris hardware will be used to 3 byte integers? (: Steve. Isn't it amazing how much mail a 'trivial' C program generates! On Thu, May 19, 2005 10:52 am, Carl Cerecke said: > Douglas Royds wrote: >> Volker Kuhlmann wrote: >> >>> C is peculiar in that it mkaes a point not to define the size of data >>> types. >> >> >> Didn't make a point. Since ISO C 1999, there are new data types defined >> in stdint.h: >> >> 8-bit: int8_t uint8_t >> 16-bit: int16_t uint16_t >> 32-bit: int32_t uint32_t >> 64-bit: int64_t uint64_t > > Which is simply standardising what many people did with ugly > preprocessor adhockery to get reliably sized ints on different platforms. > > Cheers, > Carl. > -- Windows: Where do you want to go today? MacOS: Where do you want to be tomorrow? Linux: Are you coming or what?
