C 语言程序编译常见错误对比fatal error C1003: error count exceeds number; stopping compilation中文对比:(编译错误)错误太多,停止编译分析:修改之前的错误,再次编译fatal error C1004: unexpected end of file found中文对比:(编译错误)文件未结束分析:一个函数或者一个结构定义缺少“}"、或者在一个函数调用或表达式中括号没有配对出现、或者注释符“/*…*/”不完整等fatal error C1083: Cannot open include file: ’xxx': No such file or directory中文对比:(编译错误)无法打开头文件 xxx:没有这个文件或路径分析:头文件不存在、或者头文件拼写错误、或者文件为只读fatal error C1903 : unable to recover from previous error ( s ) ; stopping compilation中文对比:(编译错误)无法从之前的错误中恢复,停止编译分析:引起错误的原因很多,建议先修改之前的错误error C2001: newline in constant中文对比:(编译错误)常量中创建新行分析:字符串常量多行书写error C2025: #include expected a filename, found ’identifier’中文对比:(编译错误)#include 命令中需要文件名分析:一般是头文件未用一对双引号或尖括号括起来,例如#include stdio。herror C2025: #define syntax中文对比:(编译错误)#define 语法错误分析:例如“#define”后缺少宏名,例如“#define”error C2025: 'xxx' : unexpected in macro definition中文对比:(编译错误)宏定义时出现了意外的 xxx分析:宏定义时宏名与替换串之间应有空格,例如“#define TRUE”1"”error C2025: reuse of macro formal ’identifier'中文对比:(编译错误)带参宏的形式参数重复使用分析:宏定义如有参数不能重名,例如“#define s(a,a) (a*a)”中参数 a 重复error C2025: ’character' : unexpected in macro formal parameter list中文对比:(编译错误)带参宏的形式参数表中出现未知字符分析:例如“#define s(r|) r*r”中参数多了一个字符‘|'error C2025: preprocessor command must start as first nonwhite space中文对比:(编译错误)预处理命令前面只允许空格分析:每一条预处理命令都应独占一行,不应出现其他非空格字符error C2025: too many characters in constant中文对比:(编译错误)常量中包含多个字符分析:...