To: rellwood AT aludra DOT usc DOT edu Cc: djgpp AT delorie DOT com Subject: Re: char to int Message-ID: <19970302.075105.7567.1.fwec@juno.com> References: From: fwec AT juno DOT com (Mark T Logan) Date: Sun, 02 Mar 1997 07:53:18 EST On 1 Mar 1997 14:34:03 -0800 rellwood writes: >Is there a function I can use to convert a char to an int? The char num = 2; int num2; num2 = num; all there is to it. You can cast it if you want, but it shouldn't make any difference. -Fwec