how to make a value a string cpp code example
Example 1: convert int to string c++
int x = 5;
string str = to_string(x);
Example 2: to_string in c++
int i=11;
string str= to_string(i);
int x = 5;
string str = to_string(x);
int i=11;
string str= to_string(i);