I've tried many methods and this one is one of them:
void init_table(int _table[][MAX_COLUMNS]) {
for (int i = 0; i < MAX_COLUMNS; i++) {
for (int j = 0; j < MAX_ROWS; j++) {
_table[i][j] = -1;
}
}
}
I am just trying to figure out how to initialize my array with -1 rather than 0 it defaults to.