turn integer to string c++ code example
Example 1: convert int to string c++
int x = 5;
string str = to_string(x);
Example 2: convert integer to string c++
std::to_string(23213.123)
int x = 5;
string str = to_string(x);
std::to_string(23213.123)