软讯网络 > 编程语言 > C++ Bulder > error C2533:constructors not allowed a return type
【标 题】:error C2533:constructors not allowed a return type
【关键字】:error,C2533,constructors,not,allowed,return,type
【来 源】:http://www.cnitblog.com/jjczlzn/archive/2005/05/20/175.html
error C2533:constructors not allowed a return type
VC++ 6.0编程的时候,遇到如下奇怪的错误,而且构造函数并没有返回值: error C2533: 'cirqueue::cirqueue' : constructors not allowed a return type 好不容易才发现,在类定义或者申明时,结束的地方忘了加个';