2D matrix

Hi, I am new to the forum and just learning arduino for a robotic project in school. I am trying to implement the wavefront alogrithm with a 8 x 8 matrix containning ints. I wrote the code in C thinking it will be similar, but when i try to compile it with the arduino program i came up with this error : "int map [8][8] redeclared as different kind of symbol"

this is how i set up the map :

int map[8][8]= {{0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0}, {255,255,255,255,0,0}, {0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0}};

Thanks for all the help. I tried searching on the topic but all i got were LED matrices and none on just a simple int matrix.

Probably a symbol collision with the Arduino library function 'map'. Try changing the name of your variable to something else.