When you come across this compiling error in Visual Studio, you could re-save the source file with “Advanced Save Options” setting. To address this issue, switch to “File“->”Advanced Save Options“, Select “Window (CR CF)” from the “Line endings” item, select on kind of Windows Encoding method from the “Encoding” item. Just as the following diagram. Then re-save them. And please make sure that those source files are open before you do with such setting. Otherwise, they will stay there the same.
本文介绍了一种解决VisualStudio中遇到的编译错误的方法。通过设置“高级保存选项”,选择“Window(CRLF)”作为行结束符,并选择一种Windows编码方式,可以避免特定的编译错误。在进行此设置之前,请确保所有源文件都已打开。

1750

被折叠的 条评论
为什么被折叠?



