TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Pascal Schmidt
from: Bo Simonsen
date: 2004-01-22 15:42:08
subject: [C] (Thanks)An interesti

-=> Pascal Schmidt wrote to Bo Simonsen <=-

 PS> Hi Bo! :-)

Hi Pascal,

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

 PS> You can only count on 0..127 if you don't explicitly use "unsigned
 PS> char".

But then you can count -127..127 :) It contains 255 different values 
then ;)

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

 PS> See above, or even better, don't obfuscate the code with
 PS> pointless typedefs and use uint8_t.

Yes ofcause. :) typedef unsigned char byte; :)


... 2 + 2 = 5 for extremely large values of 2.
___ 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™.