C++/C常用格式转化小结(结合opencv)(待完善)

string,cv::sting 转 char* :

char*p=(char*)str.data();

char *p=str.c_str();

你可能感兴趣的:(OPENCV,C/C++,MFC)