N
ng5000
Hi,
What's the point of a signed char? As I see it a char represents a
character (not an integer, use an int type e.g. short int if you want
an 8 bit number, or one of the new types, uint8 I think).
I don't know of any character sets that use negatives, e.g. 65 is 'A'
and -65 is 'a'?!?
I'm sure I'm missing something, any ideas?
Also, am I right in saying that the current standards state that
whether a char is signed or unsigned is implementation dependent?
Nick
What's the point of a signed char? As I see it a char represents a
character (not an integer, use an int type e.g. short int if you want
an 8 bit number, or one of the new types, uint8 I think).
I don't know of any character sets that use negatives, e.g. 65 is 'A'
and -65 is 'a'?!?
I'm sure I'm missing something, any ideas?
Also, am I right in saying that the current standards state that
whether a char is signed or unsigned is implementation dependent?
Nick