stringstream stream number to string code example
Example: stringstream stream number to string
#include <sstream>
std::string number_to_string(int num) {
std::stringstream stream;
stream << num;
return stream.str();
}
#include <sstream>
std::string number_to_string(int num) {
std::stringstream stream;
stream << num;
return stream.str();
}