0
Guidance on how to convert string to integers in c++.
Using member functions getline cin.get.
2 Answers
+ 1
You can use built-in std::stoi
http://en.cppreference.com/w/cpp/string/basic_string/stol
+ 1
Please use the search bar before questions.
the answer to this question has been answered million times here. Or simply google it.