populating multidimensional arrays

Hi, thanks in advance of any help.

I am trying to use a multi-dimenstional array. I can initialize the array, but when it comes to populating the elements, I get a message. The Arduino Fundamentals page does not cover multidimensional arrays, is it possible with Arduino?

Also, here is my code, with error messages.

int patternName[2][12];
int patternName[0][255, 75, 25, 10, 5, 0, 0, 0, 0, 0, 0, 0];  
int patternName[1][0, 5, 25, 75, 255, 255, 255, 255, 255, 255, 255, 255]; 

multi_array:4:23: error: expected ']' before ',' token
 int patternName[0][255, 75, 25, 10, 5, 0, 0, 0, 0, 0, 0, 0];
                       ^
multi_array:4:25: error: expected unqualified-id before numeric constant
 int patternName[0][255, 75, 25, 10, 5, 0, 0, 0, 0, 0, 0, 0];
                         ^~
multi_array:5:21: error: expected ']' before ',' token
 int patternName[1][0, 5, 25, 75, 255, 255, 255, 255, 255, 255, 255, 255];
                     ^
multi_array:5:23: error: expected unqualified-id before numeric constant
 int patternName[1][0, 5, 25, 75, 255, 255, 255, 255, 255, 255, 255, 255];
                       ^
exit status 1
expected ']' before ',' token

Arduino is programmed in standard C/C++.

Look up "multidimensional arrays" in any of the fine on line C/C++ tutorials. Here is one of many.

thank youi for the reference, my go to tutorial did not cover that.

Roger

const int pattern0[] = {255, 75, 25, 10, 5, 0, 0, 0, 0, 0, 0, 0};
const int pattern1[] = {0, 5, 25, 75, 255, 255, 255, 255, 255, 255, 255, 255};
const int pattern2[] = {12};
const int *patternName[] = {pattern0, pattern1, pattern2};
const size_t patternLength[] = {sizeof pattern0 / sizeof pattern0[0],
                                sizeof pattern1 / sizeof pattern0[1],
                                sizeof pattern1 / sizeof pattern0[2]
                               };