Glossary: Data Structures and Algorithms in C++
std::stoi
Also written: stoi
Converts text to an int, as in to_minutes. It throws invalid_argument if the text isn't a number.
Glossary: Data Structures and Algorithms in C++
Also written: stoi
Converts text to an int, as in to_minutes. It throws invalid_argument if the text isn't a number.