How to Convert std::string to int in C++ | CodeTrail