error C2236: unexpected 'class' 'CExplosionData'. Did you forget a ';'?
来源:互联网 发布:淘宝手帐本推荐店铺 编辑:程序博客网 时间:2024/06/12 10:10
问题描述:
VS2010编译时错误提示
error C2236: unexpected 'class' 'CExplosionData'. Did you forget a ';'?提示停在位置:
class CExplosionData{ << HERE};
检查后一切正常。后来终于想到可能是在其它地方 include 这个头文件时,前面的头文件中有 其他class 定义没写好。问题出现在另一个类的定义上,包括关系如下:
#include "common.h"
#include "itemBase.h"
#include "explosion.h "
其中itemBash.h中的类定义结尾;号被误替换。
/
- error C2236: unexpected 'class' 'CExplosionData'. Did you forget a ';'?
- error C2236: unexpected 'class'
- error C2236: unexpected 'class'
- error C2628: 'MySA' followed by 'float' is illegal (did you forget a ';'?) //class定义}后没有;
- [Bug]error C2236: 意外的“class” error C2236: unexpected 'class'
- error C2628: followed by 'char' is illegal (did you forget a ';'?)
- error C2628: followed by 'char' is illegal (did you forget a ';'?)
- error C2628: 'TestClass' followed by 'int' is illegal (did you forget a ';'?)
- Android 8.0 解决OkHttp问题:A connection to xxx was leaked. Did you forget to close a response body?
- did you forget to add stdafx.h problem
- omnet++ invalid use of member (did you forget the '&' ?)
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- WTL出现GUID错误 Did you forget to pass the LIBID to CComModule::Init?
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- WTL出现GUID错误 Did you forget to pass the LIBID to CComModule::Init?
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManager activityGroup)解决方法
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- mysql中查询前10条记录
- Jqury 中超链接的设置
- 让FireFox支持InnerText属性
- MySQL性能优化---explain
- 利用JDBC获取新插入记录id的三种方法
- error C2236: unexpected 'class' 'CExplosionData'. Did you forget a ';'?
- Ogre源码分析之Root类、Facade模式
- winform 中添加text和value值
- mybatis 之 环境搭建
- Android类动态加载技术
- 表格 CSS(不换行) HTML <td> 标签的 nowrap 属性
- 静态SQL和动态SQL
- Project Euler problem 33
- Ext2文件系统—路径名查找—1--挂载、follow_dotdot、follow_mount、lookup_mnt详解