资源描述:
《vs编译器常见错误中英文对照表(vs compiler common errors in chinese and english)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、vs编译器常见错误中英文对照表(VscompilercommonerrorsinChineseandEnglish)VScompilercommonerrorsinChineseandEnglishFatal,error,C1003:,error,count,exceeds,number,stopping,compilation(compileerror)toomanyerrorstostopcompilingAnalysis:modifythepreviouserrorandcompileagainFatal,error,C1004:,unexpected,end,o
2、f,file,found(compileerror)thefileisnotfinishedAnalysis:afunctionorastructuredefinitionismissing"}",orinafunctioncallornoexpressioninparentheses,orpairedAnnotation"/*...*"isnotcompleteFatal,error,C1083:,Cannot,open,include,file:,'xxx':No,such,file,or,directoryError(compileerror)unabletoop
3、enheaderfileXXX:nofileorpathAnalysis:headerfiledoesnotexist,orheaderfileismisspelled,orfileisread-onlyFatal,error,C1903:,unable,to,recover,from,previous,error(s);stopping,compilation(compileerror)cannotrecoverfrompreviouserrors.StopcompilingAnalysis:therearemanyreasonsfortheerror.Itisrec
4、ommendedtocorrectthepreviouserrorfirstError,C2001:,newline,in,constant(compileerrors)createnewrowsinconstantsAnalysis:stringliterals,multilinewritingError,C2006:,#include,expected,a,filename,found,'identifier'(compileerror)thefilenameisrequiredinthe#includecommandAnalysis:usuallyheaderfi
5、lesarenotenclosedinapairofquotationmarksorbrackets,suchas"#includestdio.h""ErrorC2007:#definesyntax(compileerror)#definesyntaxerrorAnalysis:forexample"#define",themacronameismissing,suchas"#define""ErrorC2008:'xxx':unexpected,in,macro,definition(compileerror)anunexpectedXXXoccurredwhenth
6、emacrowasdefinedAnalysis:thereshouldbespacesbetweenthemacronameandthereplacementstringwhenthemacroisdefined,suchas"#defineTRUE"1""Error,C2009:,reuse,of,macro,formal,'identifier'(compileerror)theformalargumentswithargumentmacrosarereusedAnalysis:ifthemacrodefinitionparameterscannotduplica
7、tenames,suchas"#defines(a,a)(a*a)"intheparametersofthearepeatErrorC2010:'character':unexpected,in,macro,formal,parameter,list(compileerror)anunknowncharacterappearsintheformalargumentlistwithargumentmacrosAnalysis:forexample,"#defines(r
8、)r*rparametersinmoreofacharacter'
9、'