首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

被逼无奈,请这个异常[ ISO C++ forbids declaration of ‘CQueue’ with no type]

2012-02-23 
被逼无奈,请高手指点这个错误[ ISO C++ forbids declaration of ‘CQueue’ with no type]被逼无奈,请高手指

被逼无奈,请高手指点这个错误[ ISO C++ forbids declaration of ‘CQueue’ with no type]
被逼无奈,请高手指点这个错误[   ISO   C++   forbids   declaration   of   ‘CQueue’   with   no   type]


我的.h文件里面有一个:
……
CQueue   *   m_pParent;
……

提示错误就是:NShortPath.h:47:   error:   ISO   C++   forbids   declaration   of   ‘CQueue’   with   no   type


[解决办法]
你在哪里定义了CQueue这个类?
[解决办法]
前面没有类型,或者是没有定义
DEV-CPP最会出这种晦涩的错误信息~~

热点排行