Convert a string to a char array in C++ · 1. Using strcpy function. The idea is to use the c_str() function to convert the std::string to a C-string. · 2. Using ...
確定! 回上一頁