[TUHS] v7 K&R C
ron at ronnatalie.com
ron at ronnatalie.com
Sat May 16 08:33:47 AEST 2020
Char is different. One of the silly foibles of C. char can be signed or
unsigned at the implementation's decision.
-----Original Message-----
From: Steve Nickolas <usotsuki at buric.co>
Sent: Friday, May 15, 2020 5:53 PM
To: Richard Tobin <richard at inf.ed.ac.uk>
Cc: Steve Nickolas <usotsuki at buric.co>; ron at ronnatalie.com; tuhs at tuhs.org
Subject: Re: [TUHS] v7 K&R C
Huh. I thought all integers were supposed to be signed by default
regardless of their size. o.o
That said, I do use "int c; ... c=fgetc(stdin);" or the like in my code.
-uso.
More information about the TUHS
mailing list