Tuesday, August 9, 2011

How to convert chars in string to float or int?

If i have a string s and it equals 4+3. I had atof(s[0]) + atof(s[2]) but there is an error. The same error happens with all operators. I don't get it shouldn't it work???

No comments:

Post a Comment