首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

简单的单文档视图有关问题

2013-01-23 
简单的单文档视图问题以下是错误代码:c:\documents and settings\administrator\桌面\exe\exe.cpp(157) :

简单的单文档视图问题
以下是错误代码:
c:\documents and settings\administrator\桌面\exe\exe.cpp(157) : fatal error C1010: unexpected end of file while looking for precompiled header directive
exeDoc.cpp
c:\documents and settings\administrator\桌面\exe\exedoc.cpp(3) : fatal error C1853: 'Debug/exe.pch' is not a precompiled header file created with this compiler
exeView.cpp
c:\documents and settings\administrator\桌面\exe\exeview.cpp(4) : fatal error C1853: 'Debug/exe.pch' is not a precompiled header file created with this compiler
Student.cpp
c:\documents and settings\administrator\桌面\exe\student.cpp(4) : fatal error C1853: 'Debug/exe.pch' is not a precompiled header file created with this compiler
Generating Code...
执行 cl.exe 时出错.


exe.cpp(157)处空白不知道是怎么回事???
exedoc.cpp(3)处代码为:
#include "stdafx.h"
#include "exe.h"

#include "exeDoc.h"

exeview.cpp(4)处代码为:
#include "stdafx.h"
#include "exe.h"
#include "student.h"
#include "exeDoc.h"
#include "exeView.h"
student.cpp(4)处代码为:
#include "stdafx.h"
#include "exe.h"
#include "Student.h"
求高手指点~~~~简单的单文档视图有关问题
[解决办法]
在project->setting->c/c++ ->category里选 precompiled header然后在下面选not using precompiled header

热点排行