Signed Chars - What Foolishness Revisited!
Metro T. Sauper
metro at asi.UUCP
Thu Nov 6 01:11:30 AEST 1986
I would just like to point out that there are actually two issues which
are being argued. They are actually two different topics.
1. Should characters be signed or unsigned by default.
2. Should the character type macros/subroutines support all possible
values of type char.
The first question is compiler related, the second is library related.
My own preferences follows:
1. Since the "c" language has an "unsigned" modifier, and not a "signed"
modifier, I would much rather have a signed character by default and
be able to define it to be "unsigned char" if needs be.
2. The ctype routines are trivial at best, and with all the effort put
to arguing which way they should work, you could have rewritten them
to do whatever you would like them to do.
Metro T. Sauper, Jr.
..!ihnp4!ll1!bpa!asi!metro
More information about the Comp.lang.c
mailing list