This works for single byte character sets. int iA; char cB[2];
iA = 90; cB[0] = iA; // B is now 'Z' conversely cB[0] = 'Z'; iA = cB[0]; // A is now 90 I'd suggest getting yourself a basic C/C++ book. I've always been partial to "A Book on C" for the basics. Don't know if its still in print. >Hi, >I just wanna know how I can do the following : >*I got a number between 0 and 255 and I want to have the ASCCI char >(1byte...ONLY) link to it. ex: I got 32 ad I want "A" code on 1byte (I'm not >sure for the 32, but this is just an exemple ;o) >*I got a Char on 1byte and I wanna have its ASCII number. ex : I got "A" on >1 byte and I want 32 >Thanks >Gilles -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
