So I have a bunch of boolean arrays that I would like to put into a single array for easier accessing, but for some reason this doesn't quite work.
My arrays look like this:
boolean l1_000[8] = {1,0,0,0,0,0,0,0};
I declare my array of arrays with:
boolean level1[8];
And then I figured I could either of these two (first of which just declaring these arrays directly where I set them on the big array):
level1[0] = {1,0,0,0,0,0,0,0};
level1[0] = l1_000;
I also tried level1[8][], but that didn't work either. So what am I doing wrong here? How would I do this?
EDIT: So I managed to do this by declaring the array as boolean *level1[8], but that only allows me to do level1[0] = l1_000. Is there any way I can do level1[0] = {1,0,0,0,0,0,0,0}?