hi, i created a dynamic [numPlayers][3] array at run time depending on the number of players. Problem is trying to pass this array through functions.
I read u need to know at least the column value which i do, but when i try to pass it i get an error. any help is appreciated
here is the function declaration, definition and call.
void addValues(int,int[][3]);
void addValues(int numPlayers,int gameArray[][3])
addValues(numPlayers,gameArray[][3]);
thanks
I read u need to know at least the column value which i do, but when i try to pass it i get an error. any help is appreciated
here is the function declaration, definition and call.
void addValues(int,int[][3]);
void addValues(int numPlayers,int gameArray[][3])
addValues(numPlayers,gameArray[][3]);
thanks