我在我的对话框头文件中加入了视图的头文件,可出现了如下错误:
error C2143: syntax error : missing ';' before '*'
error C2501: 'CShanshuoDoc' : missing storage-class or type specifiers
error C2501: 'GetDocument' : missing storage-class or type specifiers
错误是在shanshuoView.h中的// Attributes
public:
CShanshuoDoc* GetDocument();
这个地方出现的,
请求指点