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.
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.