TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: Bo Simonsen
date: 2004-01-23 17:05:08
subject: [C] (Thanks)An interesti

-=> Jasen Betts wrote to Bo Simonsen <=-

 JB> Hi Bo.

Hi Jasen,

 RJT>> Because a "char" is not a number.
 PS>> It is. You can add chars just like you can add ints. It's just
 PS>> like short, a variant of int with less bits.

 BS> In another way, it's just a byte, and it can contain the numbers
 BS> from 0..255.

 JB> or -128 to 127

Yes a signed char.

 BS> In most programs there is a typedef char byte;

 JB> or typedef unsigned char byte.

Yes I know, just a temperorary brain lapse. :)


Bo


... What is mind? No matter! What is matter? Never mind! - Homer S.
___ MultiMail/Linux v0.46

--- Maximus/UNIX 3.03b
* Origin: The Night Express - Roennede, Dk (2:236/100)
SEEN-BY: 633/267 270
@PATH: 236/100 237/9 20/11 106/1 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™.