2024年3月14日发(作者:)

I. Compiling —— compile 编译

II. fatal error —— 重大错误

III. Error executing —— 执行错误

IV. syntax error —— 语法错误

1. Expression syntax error —— 表达式语法错误

2. Declaration syntax error —— 声明中出现语法错误

3. Compound statement missing{ —— 复合语句漏掉"{"

4. Illegal character ``x`` —— 非法字符x

5. undeclared identifier —— 未定义的标识符

6. redeclaration of ``xxx`` —— 重复定义了xxx

7. Declaration missing ; —— 声明缺少";"

8. Cannot open include file: 'iostram.h': No such file or directory

—— 打不开包含文件'iostram.h':没有这个文件或者路径错误

9. Could not find file ``xxx`` —— 找不到XXX文件

10.missing ';' before identifier 'cout'——在标识符 'cout' 之前缺少 ';'

11.unexpected end of file found —— 找不到文件结束

12.unresolved external symbol _main —— 缺少主函数main

13.missing ')' before '{' —— 在 '{' 之前缺少 ')'

14.Call to function with no prototype —— 调用函数时没有声明函

15.Call of non-function —— 调用未定义的函数

16.Function should return a value —— 函数必需返回一个值

17.Type mismatch in parameter xxx —— 参数xxx类型不匹配

18.Do statement must have while —— Do-while语句中缺少while

部分

19.Argument list syntax error —— 参数表语法错误

20.Division by zero —— 用零作除数

21.Array size toolarge —— 数组尺寸太大

22.Case outside of switch —— 漏掉了case 语句

23.Misplaced break —— 此处不应出现break语句

24.Code has no effect —— 代码执行不到

25.Constant expression required —— 要求常量表达式

26.Constant out of range in comparison —— 在比较中常量超出范围

27.writing output file —— 写输出文件错误

28.Unable to create output file ``xxx`` —— 无法建立输出文件xxx

29.Illegal initialization —— 非法的初始化

30.Illegal use of floating point —— 非法的浮点运算

31.Illegal use of pointer —— 指针使用非法

32.Incompatible type conversion —— 不相容的类型转换

33.Lvalue required —— 需要逻辑值0或非0值

34.Macro argument syntax error —— 宏参数语法错误

35.Mismatched number of parameters in definition —— 定义中参数