On 18 Jul 2001 21:11:14 -0600, Joe Pfeiffer wrote: [...] >``int'' isn't longest integral type, ``long int'' is (long long int >never made it into ANSI, did it? If it did, I'll stand corrected). You stand corrected. In C99, "long long" is guaranteed to be a 64-bit type. The new longest int is intmax_t. >``int'' is the most natural integral type (or words to that effect). "A ��plain�� int object has the natural size suggested by the architecture of the execution environment..." but is at least 16 bits wide (i.e., can represent values in the range +/-32767). >While discussing traps I've fallen into, another good one was an Amiga >C compiler that used a 16 bit int... perfectly valid, but not what >this overly-trusting programmer was expecting at all. Sixteen bit int is (as you say) perfectly valid, and *very* common. All real-mode x86 compilers I know of use it. Most compilers targeting 8-bit micros use it as well. Those that don't use 8-bit int, which is a total abomination. But I digress... Regards, -=Dave -- Change is inevitable, progress is not.