This should do it:|
atoi(const char *nptr);
Man atoi for more info.
On Fri, 2004-02-20 at 12:27, Thomas Keaney wrote:
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