So I'm trying to call a function with a 2-D array. First of all, I have this:
Then, I define the function:Code:#define DATELEN 9 #define NAMELEN 20 #define NCOL 3
When I try to call it with this:Code:int readStats( char date[][DATELEN], char team[][NAMELEN], int stats[][NCOL] );
I get the error:Code:nGames = readStats( char date[][DATELEN], char team[][NAMELEN], int stats[][NCOL] );
For some reason I can't figure this out, can someone help me? Thanks!Code:error: parse error before "char"