不会使用C++中的string,不知道怎么在字符串之间加空格,
是否还有更加简便的方法??
就ccctingyiwu 先进提的方法: string str = "abc"; str = str +" " +"def"; cout<< str;这方法只有C++才能用,前个方法C/C++都能用。