简单的单文档视图问题
以下是错误代码:
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