How can i convert string = "9"; to and int val = 9;? I used to use Blitz basic and i remember a function called Int that does this, so is there one in C++ or should i writ my own?
How can i convert string = "9"; to and int val = 9;? I used to use Blitz basic and i remember a function called Int that does this, so is there one in C++ or should i writ my own?
You should look into atoi