I don't fully understand why I'm getting this error for passing a 2d array to a function. Here is my code followed by the error. Any help is greatly appreciated.
1>c:\users\casey\documents\visual studio 2008\projects\battleship\battleship\battleship.cpp(13) : error C2664: 'carrierLocationSet' : cannot convert parameter 1 from 'int' to 'int [][4]'
1> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
I don't understand what that means. Sorry I'm new to programming.