天天看点

严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C3867

严重性 代码 说明 项目 文件 行 禁止显示状态

错误 C3867 “std::basic_string<char,std::char_traits,std::allocator>::c_str”: 非标准语法;请使用 “&” 来创建指向成员的指针

错误:string sf1 = filename_1.at(i).c_str;

修改:string sf1 = filename_1.at(i).c_str();

继续阅读