How to make a array of array

Hello,

I'm trying to program a counter on a 5x7 matrix. To do that, I have already programed array of colon to affiche each number. For example :

int one[] = { 0001000 0001000 0001000 0001000 0001000 }

Then, I would like regroup all these arrays in a big one. However, when I write :

int counter[] = {one[], two[], three[], ...

this error message : "expected primary-expression before ']' token" is written.

May someone help me please, I really don't know what to do.

Take a look under "Multidimensional arrays" here:- Arrays (About half-way down the page.)

Thank you very very very much :) It works ;D :grinning:

lsa97150:
Thank you very very very much :slight_smile: It works ;D :grinning:

No problem.