请教类型合并问题int a=12,string b="中国"c++中怎么把a和b合并等于"12中国"?请大师解答!![解决办法]格式化嘛char buf[XXXX] = {0};sprintf(buf, "%d%s", a, b.c_str());[解决办法]