board is a 3D array that has already been declared. I am trying to directly assign it a value, but, attempting to do so gives me a host of errors.
board[2][][] = {
{10, 15, 19, 21, 22, 22, 21, 19, 15, 10},
{15, 20, 24, 26, 27, 27, 26, 24, 20, 15},
{19, 24, 28, 30, 31, 31, 30, 28, 24, 19},
{21, 26, 30, 32, 33, 33, 32, 30, 26, 21},
{22, 27, 31, 33, 34, 34, 33, 31, 27, 22},
{22, 27, 31, 33, 34, 34, 33, 31, 27, 22},
{21, 26, 30, 32, 33, 33, 32, 30, 26, 21},
{19, 24, 28, 30, 31, 31, 30, 28, 24, 19},
{15, 20, 24, 26, 27, 27, 26, 24, 20, 15},
{10, 15, 19, 21, 22, 22, 21, 19, 15, 10}
};
Errors: I have no idea why this is happening.