Hi everybody, I would like to know how to convert a character into its numerical form (or ascii number). I used atoi function, but it takes only numerical characters(If I am not wrong). for example : 'a' ----> should return its numerical equivalent. I would appreciate if anybody help me. Swamy