On Wed, 2005-05-18 at 18:06 +1200, Steve Holdoway wrote: > ... the bloke who taught me C was a bit strange to be sure - beard, > sandals, real beer - that sort of thing. Maybe it was defined as a 4 > byte int? Possibly, but (int) is normally 4 bytes on a 32-bit machine. However, the standard does not say much about how long an (int) is [1] The new C standard (C99, which GCC has almost got full support for [2]) does define some "sized" integer typesâ
> I wouldn't know where to look, and I've given up buying copies > of K+R as they keep on getting stolen. I usually trust comp.lang.c, as they are one of the greatest groups of pedants on Earth :) [1] inttypes.h(P) [2] http://gcc.gnu.org/c99status.html -- Michael JasonSmith http://www.ldots.org/
