资源预览内容
第1页 / 共3页
第2页 / 共3页
第3页 / 共3页
亲,该文档总共3页全部预览完了,如果喜欢就下载吧!
资源描述
1、fatalerrorC1010:unexpectedendoffilewhilelookingforprecompiledheaderdirective寻找预编译头文件路径时遇到了不该遇到的文件尾。解决方法:其一,包含正确路径的#includestdafx.h;其二,在*.cpp文件的Setting里面设置,C+选项中的分类precompiledheader,选择不包含头文件即可。2、fatalerrorC1083:Cannotopenineludefile:R.h:Nosuchfileordirectory不能打开包含文件“R.h:没有这样的文件或目录。3、errorC2011:C:classtyperedefinition类“C-”重定义。4、errorC2018:unknowncharacter0xa3不认识的字符0xa3。(一般是汉字或中文标点符号)5、errorC2057:expectedconstantexpression6、errorC2065:IDD_MYDIALOG:undeclaredidentifierIDD_MYDIALOG”:未声明过的标识符。7、errorC2082:redefinitionofformalparameterbReset函数参数“bRese在函数体中重定义。8、errorC2143:syntaxerror:missing:before句法错误:“前”缺少“;9、errorC2146:syntaxerror:missing;beforeidentifierdc句法错误:在“dc”前丢了“;10、errorC2196:casevalue69alreadyused值69已经用过。(一般出现在switch语句的case分支中)View11、errorC2509:OnTimer:memberfunctionnotdeclaredinCHello成员函数“OnTimeF没有在“CHelloView中声明。12、errorC2511:reset:overloadedmemberfunctionvoid(int)notfoundinB重载的函数voidreset(int)在类“B中找不到。13、errorC2555:B:f1:overridingvirtualfunctiondiffersfromA:f1onlybyreturntypeorcallingconvention类B对类A中同名函数f1的重载仅根据返回值或调用约定上的区别。14、errorC2660:SetTimer:functiondoesnottake2parameters“SetTimer函数不传递2个参数。15、warningC4035:f:noreturnvalue“f的return语句没有返回值。16、warningC4553:=:operatorhasnoeffect;didyouintend=?没有效果的运算符“=;”是否改为“=?”17、warningC4700:localvariablebResetusedwithouthavingbeeninitialized局部变量“bRese没有初始化就使用。18、errorC4716:CMyApp:InitInstance:mustreturnavalueCMyApp:InitInstance函数必”须返回一个值。19、LINK:fatalerrorLNK1168:cannotopenDebug/P1.exeforwriting连接错误:不能打开P1.exe文件,以改写内容。(一般是P1.Exe还在运行,未关闭)(void)20、errorLNK2001:unresolvedexternalsymbolpublic:virtualthiscallC:C连接时发现没有实现的外部符号(变量、函数等)。
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号