我在我的对话框头文件中加入了视图的头文件,可出现了如下错误:
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();
这个地方出现的,
请求指点
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();
这个地方出现的,
请求指点
解决方案 »
- 关于反编译的问题,望大虾们指点一下!
- 如何实现vc6.0中对话框中图形的打印?
- 驱动:IRP异步完成 StartIO - IoStartPacket 问题??
- MFC List control问题
- CDC::GetSafeHdc函数是什么意思?msdn上解释的不够详细,请各位大虾帮忙
- 怎么更改一个ole对象的图标啊?
- 读取文件总是出错,请问各位大大问题出在何处?续昨将代码上传
- 如何把 VARIANT 类型的数据写入文件呢?
- 初学者的问题,文本框
- 请教高手,关于vs 6.0补丁的问题!
- 请问大虾:design-time 和 Run-time 的区别。多多益善。
- 请教如何对对话框里的picture控件上的图像进行刷新
class CShanshuoDoc;
class CShanshuoDoc;
应该就可以了。