C++11中使用to_string()连接字符串和数字
头文件:#include<string>void str_mani(){ string str1 = "birth:"; int year = 2000; int mounth = 12; string str2 = ", "; string str3 = str1 + to_string(mounth) + str2 + to_string(year); c...