c++ 98 integer to string code example Example: integer to string c++ #include <string> std::string s = std::to_string(42);