04 2013 档案

Visual C++ 6.0 go to definition提示the symbol is undefined
摘要:把debug下的bsc文件删除,重新编译即可(build - rebuild all) 阅读全文

posted @ 2013-04-23 20:24 wps712 阅读(782) 评论(0) 推荐(0)

VC warning C4786
摘要:一般标示符长度超过255字符,一般在使用STL时出现,如使用了map或vector等。解决方法,在#include <map.h>之前加入下句:#pragma warning(disable: 4786) 阅读全文

posted @ 2013-04-22 14:15 wps712 阅读(316) 评论(0) 推荐(0)

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 阅读(8494) 评论(0) 推荐(0)

导航