The Solution to How to convert string to char array in C++? is ... string temp = "cat"; char tab2[1024]; strcpy(tab2, temp.c_str());.
確定! 回上一頁