c语言错误对照表,c语言错误查询表--学c必备品(收藏版)

本文提供了一份详尽的C语言错误查询表,涵盖了从常见的语法错误到复杂的编译问题。无论你是初学者还是有一定经验的开发者,在遇到C语言编程难题时都能在这里找到对应的解释。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

学c语言的必备品,你可以放在手机里,随时查询。在学习c语言时,有很多新手在写程序,程序出错是经常的事,那么,你不懂的出错提示就可以通过《c语言错误查询表》查询了。

1. Ambiguous operators need parentheses — 不明确的运算需要用括号括起 -

2. Ambiguous symbol 'xxx' — 不明确的符号 -

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

4. Array bounds missing — 丢失数组界限符-

5. Array size toolarge — 数组尺寸太大-

6. Bad character in paramenters — 参数中有不适当的字符 -

7. Bad file name format in include directive — 包含命令中文件名格式不正确 -

8. Bad ifdef directive synatax — 编译预处理ifdef有语法错 -

9. Bad undef directive syntax — 编译预处理undef有语法错 -

10. Bit field too large — 位字段太长 -

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

12. Call to function with no prototype — 调用函数时没有函数的说明 -

13. Cannot modify a const object — 不允许修改常量对象 -

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

15. Case syntax error — Case 语法错误-

16. Code has no effect — 代码不可能执行到-

17. Compound statement missing{ — 分程序漏掉"{" -

18. Conflicting type modifiers — 不明确的类型说明符 -

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

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

21. Conversion may lose significant digits — 转换时会丢失意义的数字 -

22. Conversion of near pointer not allowed — 不允许转换近指针 -

23. Could not find file 'xxx' — 找不到XXX文件-

24. Declaration missing ; — 说明缺少";" -

25. Declaration syntax error — 说明中出现语法错误 -

26. Default outside of switch — Default 出现在switch语句之外-

27. Define directive needs an identifier — 定义编译预处理需要标识符 -

28. Division by zero — 用零作除数 -

29. Do statement must have while — Do-while语句中缺少while部分 -

30. Enum syntax error — 枚举类型语法错误 -

31. Enumeration constant syntax error — 枚举常数语法错误-

32. Error directive :xxx — 错误的编译预处理命令 -

33. Error writing output file — 写输出文件错误 -

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

35. Extra parameter in call — 调用时出现多余错误 -

36. File name too long — 文件名太长 -

37. Function call missing ) — 函数调用缺少右括号 -

38. Fuction definition out of place — 函数定义位置错误 -

39. Fuction should return a value — 函数必需返回一个值 -

40. Goto statement missing label — Goto语句没有标号 -

41. Hexadecimal or octal constant too large — 16进制或8进制常数太大-

42. Illegal character 'x' — 非法字符x -

43. Illegal initialization —

非法的初始化 -

44. Illegal octal digit — 非法的8进制数字 -

-

45. Illegal pointer subtraction — 非法的指针相减 -

46. Illegal structure operation — 非法的结构体

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值