can you cast an integer into a string in C++ code example Example: change integer to string c++ string str_val = to_string(int_val);