Signed Characters

Davidsen davidsen at steinmetz.UUCP
Wed May 7 05:07:51 AEST 1986


In article <570 at tjalk.UUCP> dick at vu44.UUCP (Dick Grune) writes:
>I just dropped into this, and it may have been said before, but if there
>is char and unsigned char, I expect the char to be signed.

X3J11 (ANSI C committee) added "signed char". If you assume that your char is
signed your code is highly non-portable.
-- 
	-bill davidsen

	seismo!rochester!steinmetz!--\
       /                               \
ihnp4!              unirot ------------->---> crdos1!davidsen
       \                               /
        chinet! ---------------------/        (davidsen at ge-crd.ARPA)

"Stupidity, like virtue, is its own reward"



More information about the Comp.lang.c mailing list