Path: utzoo!utgpu!watmath!maytag!aries5!lhf From: lhf@aries5 (Luiz H. deFigueiredo) Newsgroups: comp.lang.c Subject: Re: want to know Message-ID: <341@maytag.waterloo.edu> Date: 3 Aug 89 18:19:58 GMT References: From: mysore@bsu-cs.bsu.edu Sender: daemon@maytag.waterloo.edu Reply-To: lhf@aries5 (Luiz H. deFigueiredo) Distribution: world Organization: Computer Systems Group, University of Waterloo Lines: 21 In article <8487@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