Re: [Dev-C++] how do you convert char to int?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Kevin W. <ke...@me...> - 2001-12-09 22:17:58
|
I would use
#include <stdlib.h>
int MyInt=atoi('7');
Kev.
----- Original Message -----
From: chromatonus 712 <chr...@ho...>
To: <dev...@li...>
Sent: Sunday, December 09, 2001 8:56 PM
Subject: [Dev-C++] how do you convert char to int?
> so if you enter 7 as char, for example, how do you convert it to the
number
> 7?
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|