This should do it:
atoi(const char *nptr);
Man atoi for more info.
Cheers,
Michael
On Fri, 2004-02-20 at 12:27, Thomas Keaney wrote:
Hi,
How would I change a char to an int. I have the value "34" as a character. I want to change this to an int (34). Cheers
Regards,
Thomas Keaney
4 CSSE
|