error C2533:constructors not allowed a return type

VC2005编程的时候,遇到如下奇怪的错误,而且构造函数并没有返回值:
error C2533: 'cirqueue::cirqueue' : constructors not allowed a return type
好不容易才发现,在类定义或者申明时,结束的地方忘了加个'; "
posted on 2009-12-10 15:24  fairycao  阅读(380)  评论(0)    收藏  举报