std::vector<std::string> temp; temp.push_back("11111"); temp.push_back("22222"); temp.push_back("33333"); temp.push_back("44444"); temp.push_back("55555"); temp.push_back("66666");
想得到一个 char*[]
收起
每一个 std::string 不就是一个 char*?
String operations:
c_str
Get C string equivalent (public member function )
data
Get string data (public member function )
报告相同问题?