6749| 6
|
IAR环境编译expression must have a constant value错误 |
1金钱
最佳答案明确跟你说了,const修饰的还是变量,只是值在被你修改时会警告或保错,这个由编译器决定,而C语言是绝对不可以用变量来定义数组大小的,这是规则
| ||
发表于 2018-11-18 12:52:02
|
显示全部楼层
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
发表于 2018-11-19 02:20:48
|
显示全部楼层
| ||
发表于 2018-11-19 08:29:41
|
显示全部楼层
| ||
发表于 2018-11-19 10:17:38
|
显示全部楼层
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-26 00:55
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网