want to know

Luiz H. deFigueiredo lhf at aries5
Fri Aug 4 04:19:58 AEST 1989


In article <8487 at bsu-cs.bsu.edu> you write:
>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



	Come now, 'a' is just SHORTHAND for 65 (if you're using ascii).

I suspect that this is going to be joined by a million others... :-)

PS: Apologies for broadcasting this but my mailer doesn't know bsu-cs.bsu.edu



More information about the Comp.lang.c mailing list