1 string teacher = "teach_"; 2 string name = "ab"; 3 teacher += name[0]; 4 cout << teacher << endl;
打印结果: