C++中String和Char[]如何相加?大家好,C++中String和Char【】如何相加,我有一段程序char buffer[4096] = {0}; String^ strOutput; .......................strOutput = strOutput + buffer;这个地方老是报错,无法将char转化为String,求大虾帮组。[最优解释]strOutput = strOutput + gcnew String(buffer);