View Single Post
  #2 (permalink)  
Old 05-20-2007, 12:37 PM
levent levent is offline
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
You can cast your character into an int simply:

Code:
int ascii_z = (int) 'z';
Reply With Quote