Thread
:
How to obtain ASCII code of a character
View Single Post
#
2
(
permalink
)
05-20-2007, 12:37 PM
levent
Senior Member
Join Date: Dec 2006
Posts: 748
You can cast your character into an int simply:
Code:
int ascii_z = (int) 'z';
levent
View Public Profile
Send a private message to levent
Find all posts by levent