|
|
const
, but you haven't provided any values to initialize the array. Because it is const, you can't modify the array. The compiler is telling you there is no point in having a const array that is not initialized and that you can't change.
|
|
error: cannot convert 'char (*)[ROOM_ARRAY_SIZE]' to 'char (*)[8]' for argument '1' to 'void readGrid(char (*)[8])'|
|
|
const
. The arrays size declarations at lines 31-32 are not const.