string转char数组



std::string strr = std::to_string(base_vertex.count());
const char* baseArray = strr.c_str();

strr = std::to_string(bs_vertex.count());
const char* bsArray = strr.c_str();
MGlobal::displayInfo(bsArray);

评论
  目录