please help.
i need to convert a string (with a numeric value) to an integer. how do i do that in c?
thanks a lot.
This is a discussion on FAQ how do i convert a string to an integer?? (C) within the FAQ Board forums, part of the General Programming Boards category; please help. i need to convert a string (with a numeric value) to an integer. how do i do that ...
please help.
i need to convert a string (with a numeric value) to an integer. how do i do that in c?
thanks a lot.
Code:int i; char * string = "1024"; i = atoi(string); printf("%d", i);
My best code is written with the delete key.