StringStream Numer strumienia do ciągu

#include <sstream>

std::string number_to_string(int num) {
    std::stringstream stream; 
    stream << num;
    return stream.str();
}
Mackerel