#include <iostream>using namespace std;string str = "1-3-2";str[2] = '2';str[4] = '3';//str is "1-2-3"cout << "str: " << str;