missing storage-class or type specifiers的解决方法
来源:互联网 发布:数据库概念模型包括 编辑:程序博客网 时间:2024/06/07 00:00
error C2143: syntax error : missing ';' before '*'
遇到这种莫名的错误,最可气了。
当我在childFrm中加入 #include "CMyView.h"便报的错
因为我要在CChildFrame的onCreateClient中创建窗口的静态分割,
而我希望我能用到MFC自动生成的View类,于是问题便出现了
最后的解决方法是:
是在自己要使用的View类的.cpp文件中加入下面一句声明:
class CMyDoc;
真是莫名其妙,不知道是不是MFC的bug
- missing storage-class or type specifiers的解决方法
- GetDocument missing storage-class or type specifiers的解决方法
- '_ConnectionPtr' : missing storage-class or type specifiers
- 'HDEVNOTIFY' : missing storage-class or type specifiers
- 'IplImage' : missing storage-class or type specifiers
- 'HDEVNOTIFY' : missing storage-class or type specifiers
- 'IplImage' : missing storage-class or type specifiers
- '_ConnectionPtr' : missing storage-class or type specifiers
- [VC++]missing storage-class or type specifiers
- missing storage-class or type specifiers的原因及解决办法
- 头文件交叉定义出现--GetDocument missing storage-class or type specifiers错误的解决方法
- error C2501: 'string' : missing storage-class or type specifiers
- error C2501: 'gxListCtrl' : missing storage-class or type specifiers
- error C2501: '_Application' : missing storage-class or type specifiers
- error C2501: 'AUX_RGBImageRec' : missing storage-class or type specifiers
- error C2501: 'GetDocument' : missing storage-class or type specifiers 问题的处理
- 关于dsound.h的问题error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
- 有关error C2501: 'WINGDIAPI' : missing storage-class or type specifiers的错误
- C语言之详解#ifdef等宏
- ELF为什么一直是1版本
- ECMAScript六个值得看好的特性
- 同步与异步
- 11月学习总结---确定以Linux为终身的发展方向
- missing storage-class or type specifiers的解决方法
- 移动优先的设计常识:应用如何组织?(一)
- HDU 1017 A Mathematical Curiosity
- 都是单例惹的祸
- qrobot开发总结之android语音识别
- 跨平台开发工具Titanium的兴起之路:HTML5是最大威胁
- Linux输入子系统input_dev概述
- 一个类里边调用另一个类的控件变量的方法
- 通过ApplicationContextAware获取bean