编译错误
fatal error C1010: unexpected end of file while looking for precompiled header directive
我在编译时出现了以上错误,请问这是怎么回事,是哪里的错
问题点数:10、回复次数:6Top
1 楼kxy(手举穿肠毒药,怀抱刮骨钢刀)回复于 2000-05-31 12:36:00 得分 0
.h写的不对.Top
2 楼sun2000(非常可乐)回复于 2000-05-31 12:59:00 得分 10
请在.cpp中包含
#include "stdafx.h"
也可能是头文件有问题。Top
3 楼995()回复于 2000-05-31 13:08:00 得分 0
为什么要在.cpp中包含
#include "stdafx.h",请问stdafx.h包含什么内容Top
4 楼995()回复于 2000-05-31 13:10:00 得分 0
为什么要在.cpp中包含
#include "stdafx.h",请问stdafx.h包含什么内容,为什么加它就成Top
5 楼cz()回复于 2000-05-31 13:29:00 得分 0
看看典型的stdafx.h文件的内容,就知道了:
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxole.h> // MFC OLE classes
#include <afxdisp.h> // MFC Automation classes
#include <afxcmn.h> // MFC support for Windows Common Controls
如果没有这些头文件,就不能使用MFC,一切自己构造吧。Top




