many dimensions 程序如下,希望大佬帮帮忙,error C216: subscript on non-array or too many dimensions 这个错误可能是由以下原因导致的:下标操作符[]被用在了非数组或者维度过多的变量上。请检查您的代码,确保使用下标操作符[]的变量是一个数组或者指针,并且维度正确。您有一些语法错误或者拼写错误。
简介: Keil 5报错error C216: subscript on non-array or too many dimensions 今天在用keil5 读取AT24C02存储的数据时候,遇到了这个问题 main.c(156): error C216: subscript on non-array or too many dimensions 当时出错的代码段在这 前面是数组,后面是函数 转到函数定义查看 AT24C02_ReadByte() 函数用...
错误的意思是你把下标用在了一个非数组的变量上。从你的代码看, display不是数组,但第33句,使用了display[k]。所以出错。Disdata=dis_7[display[k]];你的display[k]数值可能大于了11 导致dis_7[]出了问题如下操作display[4]=((temp_data[0]&0xf0)>>4)|((temp_data[1]&0x0f)<<4);...
你声明的,j_shuzu,w_shuzu都是double型变量,程序里面却将其当作数组使用。
FPGA|CPLD|ASIC论坛 DSP论坛 / 999.c(23): error C216: subscript on non-array or too ...【优惠升级】华秋PCB首单最高立减100元,SMT免费贴片!!![问答] 999.c(23): error C216: subscript on non-array or too many dimensions请问该怎么改?7047...
罗马下视 下士 3 subscript on non-array or too many dimensions在keil3中怎么解决跪求大佬 咱俩玩一会儿呀 中校 11 参数不全,请看下,IF ELSE的用法吧。登录百度帐号 扫二维码下载贴吧客户端 下载贴吧APP看高清直播、视频! 贴吧页面意见反馈 违规贴吧举报反馈通道 贴吧违规信息处理公示...
Thesubscriptwas used on a variable that was not an array. 该下标用在了不是数组的变量上. 互联网 Thesubscriptoperator must be defined as a class member function. 下标操作符必须定义为类成员函数. 互联网 To create superscript or asubscriptdo the following. ...
错误C216:在非数组变量上进行下标操作 或者 数组的维数不对。建议查看一下 源文件中table和table1(笔误?)的定义。你
数组维数太大
An array initialization leaves out one or more of the subscripts that define the array bounds. For example, the statement might contain the expression myArray (5,5,,10), which leaves out the third subscript.Error ID: BC30306To correct this errorSupply the missing subscript....