'CCh1_1View' : is not a class or namespace name
这两个.cpp文件中已经有#include "ch1_1View.h",可是还是出现下列错误提示,我把#include "ch1_1View.h"调到了#include "stdafx.h"的后面,还是同样的错误,折腾了半天头疼,请高手指教!
Compiling...
ch1_1.cpp
E:\ch1_1\ch1_1.cpp(83) : error C2653: 'CCh1_1View' : is not a class or namespace name
E:\ch1_1\ch1_1.cpp(83) : error C2065: 'classCCh1_1View' : undeclared identifier
ch1_1Doc.cpp
E:\ch1_1\ch1_1Doc.cpp(25) : error C2065: 'ID_FILE_REOPEN' : undeclared identifier
ch1_1View.cpp
E:\ch1_1\ch1_1View.cpp(21) : error C2653: 'CCh1_1View' : is not a class or namespace name
E:\ch1_1\ch1_1View.cpp(21) : error C2061: syntax error : identifier 'CCh1_1View'
E:\ch1_1\ch1_1View.cpp(21) : error C2143: syntax error : missing ';' before '}'(很多行这种错误提示)