So my book provided me with a function prototype. void printTable(int rows, int cols, TwoDimArray aTable);
Where the TwoDimArray is typedefint TwoDimArray[NUM_ROWS][NUM_COLUMNS];
The constants for the indices are 15.
When my program tries to call a matrix variable of this type it errors out.
I have tried telling the function the size of the NUM_COLUMNS. I'm getting a little frustrated. Here is what my code looks like at the moment.
I was attempting to get it to pass several different manners, then forgot to clean up before I posted, but I have it figured out now. I'm an idiot. The error happens at line 22. It isn't necessary. Well the declaration is, but the rows, and cols are not.