How do I fix "array bound is not an integer constant before ']' token" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I fix "array bound is not an integer constant before ']' token"

28th Jun 2019, 9:02 PM
Mo Kid
Mo Kid - avatar
5 Answers
+ 4
adding your code will be of a great way to help you
28th Jun 2019, 9:57 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 2
show us the code
28th Jun 2019, 9:26 PM
Taste
Taste - avatar
+ 1
***throughout***
28th Jun 2019, 10:30 PM
Mo Kid
Mo Kid - avatar
0
1.my code is on computer and the post didn't give me an option to add a photo 2.ive changed my code up so now I've got a different problem Is there any way to either prototype classes, or create a special variable that works all thought the program(main and classes/functions)
28th Jun 2019, 10:30 PM
Mo Kid
Mo Kid - avatar
0
byte rowPins[rows] = {2,3,4,5}; byte colPins[cols] = {6,7,8,9}; ERROR:array bound is not an integer constant before ']' token could you please guide me to fix the project???
18th Jun 2020, 1:54 PM
sarbaz