TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Roy J. Tellason
from: Jasen Betts
date: 2004-01-20 06:09:42
subject: [C] (Thanks)An interesting question

Hi Roy.

19-Jan-04 04:06:52, Roy J. Tellason wrote to Jasen Betts


 RJT> Jasen Betts wrote in a message to Roy J. Tellason:

 RJT>> I still think there's something odd about the concept of a
 RJT>> "signed char",  and I particularly think it's odd that it's in
 RJT>> some cases the default..

 JB>> signed is the default for long int and short, why should char be
 JB>> the exception?

 RJT> Because a "char" is not a number.

but it is...  it behaves just like int and long etc...

char b= 'b' ;
char a= b + 5 ;
char c= a % b ;

  etc...

 JB>> OTOH I've never found signed chars more convenient than unsigned.

 RJT> Then I wonder why it's the default?
me too.



 -=> Bye <=-

---
(3:640/1042)
* Origin: You think "I'm no fool!" but I am! - Spike Milligan
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.