I have a string and i want to conver the part of it to an int.
I want to convert the part of the string
input to an int.
But my compiler cant use atoi, or stoi..
I saw a ifstringstream option i think can work, but i tried implementing it but it didnt work..
Here is what i have.
int currentqueue = 0; std::stringstream converted(input); currentqueue = converted;
What is wrong here?