How to change the string input to integer type?
How to change the string input to integer type?
atoi() converts a string to an integer. It's in <stdlib.h>.
Phil.
Thatīs a cast:
klausiCode:int num; char c; scanf("%c",c); num=c;
When I close my eyes nobody can see me...