Long Chars

Doug Gwyn gwyn at brl-smoke.ARPA
Sat Mar 26 02:21:36 AEST 1988


In article <8803250401.AA01184 at champlain.dgp.toronto.edu> flaps at dgp.toronto.edu (Alan J Rosenthal) writes:
>Why do you need to make sizeof(char) == 2 just to make chars 16 bits?
>Make chars 16 bits, keep sizeof(char) == 1, ...

The idea is that you not only need to handle fat chars, you also
have applications that need to handle smaller objects (bytes, or
bits).  Therefore there would have to be some object type smaller
than a char (e.g. a "short char").



More information about the Comp.lang.c mailing list