c语言 error c2061: 语法错误 : 标识符"aa",C语言命语法错误大全

fatal error C1004: unexpected end of file found

未找到文件末尾(可能是括号匹配问题)

fatal error C1021: invalid preprocessor command '1nclude'

无效的编译预处理命令'1nclude'

fatal error C1083: Cannot open include file: 'stdi.h': No such file or directory 不能打开头文件'stdi.h',文件或文件夹不存在

error C2101: '&' on constant

不能计算常量的地址

error C2059: syntax error : 'while'

在'while'附近,存在语法错误

error C2061: syntax error : identifier 'x'

标识符x的附近,存在语法错误

error C2065: 'i' : undeclared identifier

变量i未定义

error C2078: too many initializers

数组/结构等变量初始化时的数据太多

error C2087: '' : missing subscript

丢失数组下标

error C2106: '=' : left operand must be l-value

'='的左侧应当是左值,即不能是常量

error C2115: '=' : incompatible types

'='两侧的类型不兼容

error C2133: 'a' : unknown size

a(可能是数组名)的大小不确定。

error C2137: empty character constant

空的字符常量

error C2143: syntax error : missing ';' before ......

在......之前,缺少';'

error C2146: syntax error : missing ')' before identifier '......'

在标识符'......'之前缺少')'

error C2181: illegal else without matching if

else缺少匹配的if

error C2198: 'printf' : too few actual parameters

'printf'函数的参数太少

error C2223: left of '->x' must point to struct/union

'->x'的左侧应是结构类型变量或联合类型变量

error C2224: left of '.x' must have struct/union type

'.x'的左侧应是结构类型变量或联合类型变量

error C2371: 'f1' : redefinition; different basic types

函数'f1'的接口被重定义,参数类型或返回值类型不一致

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值