no match for 'operator+' (operand types are 'basic_string' and 'int')
之前在写代码的时候都没注意过这个问题,我想将一个数字变成字符接在一个字符串后面,如下所示:int main(){ string res = "doudou"; res = res + ('0' + 1); cout << res << endl; return 0;}但是编译发生错误:no match for 'operator...