2013年4月21日

Vc error C2629: unexpected 'class***或error C2501: missing storage-class or type specifiers

摘要: 可能是头文件相互包含如a.h中有include b.hb.h中有include a.h解决方法:把b.h中include a.h去掉,并把该句加入到b.cpp中。即在b的cpp文件中包含a的头文件,而不是在b的头文件中包含。或者可能是构造函数的参数类型找不到(没包含相应头文件或者类型名写错了) 阅读全文

posted @ 2013-04-21 23:50 wps712 阅读(8424) 评论(0) 推荐(0) 编辑

导航