加入自定义的类,怎么找不到?已经#include 头文件了
hxn 2000-07-21 11:07:00 加入CStudent自定义的类,并且在CMyDoc中加入CStudent的类变量m_student,
但编译有问题 ,(已经#include "student.h") error C2079: 'm_student'
uses undefined class 'CStudent'
并且奇怪的是,开发环境自加的代码行都报错。
如static char THIS_FILE[] = __FILE__;行错
消息映射宏也有一大堆错。
如BEGIN_MESSAGE_MAP(CMyApp, CWinApp)好象编译器不认识似的,
但Project--Setting里是选择用了Mfc的