string to string * cast cpp code example Example: int to string c++ #include<string> string s = to_string(int_val);