+ 1
How to convert string to int in c++
4 Answers
+ 3
std::stoi(string)
+ 1
The Great Saga can u please elaborate. .
0
stoi is there apart from that you can use sscanf
0
Mompati Keetile please check below code
https://code.sololearn.com/cMbfRoo7neR4/?ref=app