该错误是需要将C++字符串转换为C字符串。
使用stat(path.c_str())等string::c_str()方法将C++字符串转换为C字符串。
有关详细信息,请参阅http://cplusplus.com/reference/string/string/c_str/。
参考链接:
该错误是需要将C++字符串转换为C字符串。
使用stat(path.c_str())等string::c_str()方法将C++字符串转换为C字符串。
有关详细信息,请参阅http://cplusplus.com/reference/string/string/c_str/。
参考链接: