VS2005,Did you forget to add '#include "stdafx.h"' to your source?
|
unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? 项目--->>...属性--->>c/c++--->>预编译头--->>不使用预编译头,即可 |
本文介绍了在使用Visual Studio 2005进行编程时遇到的一个常见错误:预编译头文件未找到。具体表现为编译器提示在寻找预编译头文件时意外地遇到了文件结束,并询问是否忘记在源代码中加入'#include stdafx.h'。文章提供了简单的解决方案,即通过项目属性设置禁用预编译头。
|
unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? 项目--->>...属性--->>c/c++--->>预编译头--->>不使用预编译头,即可 |
2942

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