string to value

Started by
0 comments, last by xstreme2000 23 years, 11 months ago
If you''ve got a string eg "1024" is the a function extract the value ( something like int i = StrToVal("1024)) ?????????
Advertisement
You want the functions atoi and atof. atoi changes the string to an int, atof changes it to a float.

This topic is closed to new replies.

Advertisement