Gunna need a lot of help with this guys but to start off I have no idea how to make a 4x4 board I've tried this but doesn't seem to work.
char board [4] [4] =
Last edited on
Why doesn't that work? What errors are you getting?
I don't know if that is the problem, but you initialize multi-dimensional arrays like this:
|
char board[ 4 ] [ 4 ] = { { 'a', 'b', 'c', 'd' }, { 'e', 'f', 'g', 'h' }, { 'i', 'j', 'k', 'l' }, { 'm', 'n', 'o', 'p' } };
|
Last edited on