delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/01/22:21:38

From: rellwood <rellwood AT aludra DOT usc DOT edu>
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: <Pine.SV4.3.94.970301143114.733A-100000@aludra.usc.edu>
NNTP-Posting-Host: aludra.usc.edu
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019