Signed/Unisgned chars (Was: What's a C expert?)
Chris Torek
chris at mimsy.UUCP
Tue Jun 27 13:40:06 AEST 1989
In article <2379 at uwovax.uwo.ca> 2014_5001 at uwovax.uwo.ca (Alex Pruss,
according to his signature quote) writes:
>Howvwer in real C (ANSI C) chars are guaranteed signed.
Bzzzt!
First, in the pANS, `char' is neither guaranteed signed nor guaranteed
unsigned. To get one or the other, you must specify which you want;
otherwise you get whatever the compiler prefers. Second, `ANSI C'
cannot possibly be `real C', since there is no ANSI C standard (yet).
Either that, or the language people have been using for years is somehow
not `real'.
(Personally, I prefer the terms `Classic C' and `New C', a la the change
to Coca-Cola.)
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.lang.c
mailing list