O the 12 would just be the size, 12 width and 12 length. So you could initialize it like so...
to initialize each coordinate point, you could go through a loop and make them all relative to their indexing numbers.
Code:
for (int row = 0; row < 12; row++)
for (int col = 0; col < 12; col++)
{
Map[row][col].x = row;
Map[row][col].y = col;
}
lets say you have a map called testMap and you had one coordinate on it, (0, 0) heres how you would do it:
Code:
coord testMap;
testMap.x = 0;
testMap.y = 0;
when you normally initialize arrays you do it like so:
Code:
int array[2][2] = {{2, 3}, {3, 5}};
but since its a structure you have to assign values to both x and y.