c语言出现了语法错误能编译吗,C语言编译中的错误解释你都会了吗

很多人可能在编程中对c语言很多名字有错误的理解和介绍,下面来给大家介绍公布下他们的真正解释吧。

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

Ambiguous symbol ‘xxx’ 不明确的符号

Argument list syntax error 参数表语法错误

Array bounds missing 丢失数组界限符

Array size toolarge 数组尺寸太大

Bad character in paramenters 参数中有不适当的字符

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

Bad ifdef directive synatax 编译预处理ifdef有语法错

Bad undef directive syntax 编译预处理undef有语法错

Bit field too large 位字段太长

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

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

Cannot modify a const object 不允许修改常量对象

Case outside of switch 漏掉了case 语句

Case syntax error Case 语法错误

Code has no effect 代码不可述不可能执行到

Compound statement missing{ 分程序漏掉”{“

Conflicting type modifiers 不明确的类型说明符

Constant expression required 要求常量表达式

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

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

Conversion of near pointer not allowed 不允许转换近指针

Could not find file ‘xxx’ 找不到XXX文件

Declaration missing ; 说明缺少”;”

Declaration syntax error 说明中出现语法错误

Default outside of switch Default 出现在switch语句之外

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

Division by zero 用零作除数

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

Enum syntax error 枚举类型语法错误

Enumeration constant syntax error 枚举常数语法错误

Error directive :xxx 错误的编译预处理命令

Error writing output file 写输出文件错误

Expression syntax error 表达式语法错误

Extra parameter in call 调用时出现多余错误

File name too long 文件名太长

Function call missing ) 函数调用缺少右括号

Fuction definition out of place 函数定义位置错误

Fuction should return a value 函数必需返回一个值

Goto statement missing label Goto语句没有标号

Hexadecimal or octal constant too large 16进制或8进制常数太大

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值