Mat checkopen;
checkopen=imread((string)Path);
在unicode下出现错误
尝试了还是失败
请大家帮忙小白做下转换
CString->std::string 例子:
CString strMfc=“test“;
std::string strStl;
strStl=strMfc.GetBuffer(0);
std::string->CString 例子:
CString strMfc;
std::string strStl=“test“;
strMfc=strStl.c_str();