GetDocument missing storage-class or type specifiers的解决方法
2013-10-11 16:42
453 查看
error C2143: syntax error : missing ';' before '*' error C2501: 'CTest1Doc' : missing storage-class or type specifiers error C2501: 'GetDocument' : missing storage-class or type specifiers 遇到这种莫名的错误,最可气了。 当我在childFrm中加入 #include "CMyView.h"便报的错 解决方法1是: 是在自己要使用的View类的.cpp文件中加入下面一句声明: class CMyDoc; 解决方法2是: 是在自己要使用的View类的.cpp文件 #include "XXXDoc.h" #include "XXXView.h" #include "MainFrm.h"
相关文章推荐
- 头文件交叉定义出现--GetDocument missing storage-class or type specifiers错误的解决方法
- GetDocument missing storage-class or type specifiers的解决方法
- error C2501: 'GetDocument' : missing storage-class or type specifiers 问题的处理
- missing storage-class or type specifiers的解决方法
- Missing type map configuration or unsupported mapping解决方法
- missing storage-class or type specifiers的原因及解决办法
- unexpected 'class***或error C2501: missing storage-class or type specifiers 错误解决办法
- 解决 IE 不支持 document.getElementsByClassName() 的方法
- 解决 IE 不支持 document.getElementsByClassName() 的方法
- is not a class or namespace name解决方法
- The method getDispatcherType() is undefined for the type HttpServletRequest的解决方法
- 解决Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- CuteEditor.Editor+a+a+c+a+a.a() System.RuntimeType.get_Assembly() 问题解决方法
- apt-get错误:not fully install or remove解决方法
- javascript代码在ie8里报错 document.getElementById(...) 为空或不是对象的解决方法 原创
- error: two or more data types in declaration specifiers原因及解决方法 [转]
- 转:Warning -26490: File name in a multipart submit is missing or empty.解决方法
- 有关error C2501: 'WINGDIAPI' : missing storage-class or type specifiers的错误
- This Handler class should be static or leaks might occur 解决方法