[OLUG] Re: - This is a good one

Chris Garrity m0ntar3 at home.com
Tue Jan 18 04:39:59 UTC 2000


Oops, char() returns the character associated with an integer, and int()
returns the integer associated with a charater thus: char(-23) == è and
int(è) == -23 ... my bad :-)

-chris

I wrote:
>It seems that the 'é' character cooresponds to integer -23 ... the value
>return by the C++ function char(), which returns the integer values of
>characters.  What character set this is?
>
>-chris

-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 



More information about the OLUG mailing list