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