From: rellwood Newsgroups: comp.os.msdos.djgpp Subject: char to int Date: 1 Mar 1997 14:34:03 -0800 Organization: University of Southern California, Los Angeles, CA Lines: 6 Sender: rellwood AT aludra DOT usc DOT edu Message-ID: NNTP-Posting-Host: aludra.usc.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Is there a function I can use to convert a char to an int? The closest thing I can find is atoi(), which actually converts a string. Is there anything better? -Richard