104
Possible Duplicate:
How to parse a string to an int in C++?
I have done some research and some people say to use atio and others say it's bad, and I can't get it to work anyways.
So I just want to ask flat out, whats the right way to convert a string to a int.
string s = "10";
int i = s....?
Thanks!