QurazyQuisp
Platinum Member
What is the easiest way to convert a string value to an integer?
So... assuming this...
string super = "1234567890";
int one = 0;
one = super.at(2); // line
How do I get it to equal the number 2?
The compilier does not like it when I do what I did at // line, as it is technically a character...
** I'd prefer not to use any functions inorder to do this, other then the member functions of string... unless this is not possible. **
So... assuming this...
string super = "1234567890";
int one = 0;
one = super.at(2); // line
How do I get it to equal the number 2?
The compilier does not like it when I do what I did at // line, as it is technically a character...
** I'd prefer not to use any functions inorder to do this, other then the member functions of string... unless this is not possible. **