Difference between char and unsigned char

Wade Guthrie evil at arcturus.uucp
Wed Jul 25 02:26:34 AEST 1990


> My recommendation is to always use `char *' for text, and do 
> conversions to `unsigned char' only in the context of <ctype.h> 
> functions.

Unless, of course, you need to do byte-style things rather than
character-style things.  In that case, unsigned char can be real
neat!
 
-- 
Wade Guthrie (evil at arcturus.UUCP)    | "He gasped in terror at what sounded
Rockwell International; Anaheim, CA  | like a man trying to gargle while
My opinions, not my employer's.      | fighting off a pack of wolves"
                                     |                Hitchhiker's Guide



More information about the Comp.lang.c mailing list