On Thu, 2005-05-19 at 10:50 +1200, Volker Kuhlmann wrote:
> > Didn't make a point. Since ISO C 1999, there are new data types defined in 
> > stdint.h:
> 
> Perhaps, but the sizes of the "standard" data types int, etc are still
> undefined!
Not quite. From inttypes.h(P)
        The ISO/IEC 9899:1990 [1] standard specified that the language
        should support  four  signed  and unsigned integer data types
        char, short, int, and long â but placed very little requirement 
        on their size other  than that int and short be at least 16
        bits and long be at least as long as int and not smaller than 32
        bits.
But you are correct in saying that, beyond the above guidelines, the
specific sizes of the core types is implementation specific.

Just a note on what you were saying, Carl. C99 standardises a lot of
ugly preprocessor ad-hocery :) For example, boolean types (or a C
approximation of boolean types, rather than boolean values without a
type) make an appearance for the first timeâ ever[2].

[1] ISO/IEC 9899:1990 is what is otherwise known as C89, or ANSI C.
[2] stdbool.h(P)

-- 
Michael JasonSmith                  http://www.ldots.org/


Reply via email to