We can convert string to int in multiple ways. The easiest way to do this is by using the std::stoi() function introduced in C++11.
確定! 回上一頁