4.检测到 Mac 文件格式: 请将源文件转换为 DOS 格式或 UNIX 格式

    xiaoxiao2021-08-19  87

    error:

    晚上用vs2010运行程序,出现如下的错误:

    error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format

    解决办法,非常简单可以解决:

    方法一,用editplus打开,再复制回VS

    方法二:在VS中,点文件->高级保存选项,然后在行尾选项中选择windows(CR LF),重新编译,ok

    转载请注明原文地址: https://ju.6miu.com/read-676652.html

    最新回复(0)