gpt4 book ai didi

c++ - 我怎么能在 VC 2008 中删除 "error C4335: Mac file format detected"

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:11:39 25 4
gpt4 key购买 nike

我现在用VC++2008编译一个项目,得到的错误如下:

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

我想知道如何解决此类错误。我找到了 this link有用,但该解决方案适用于 VC++ 2010 而不是 VC++ 2008。任何建议将不胜感激。

最佳答案

对于 VS2012,在解决方案资源管理器中选择并打开文件。文件-> 高级保存选项-> 设置编码:西欧 (Windows) && 设置行结尾:Unix

关于c++ - 我怎么能在 VC 2008 中删除 "error C4335: Mac file format detected",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13742840/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com