I have two 2 dimensional arrays:
#define MAXSIZE 10
/* ... */
int A[MAXSIZE][MAXSIZE], B[MAXSIZE][MAXSIZE];
I'm reading in values from a file:
1 1 2
2 2 -6 4 5 6
On each line, the first two numbers are the row and column sizes for the array, after which are enough (arbitrary) values to fill up an array using those sizes. What I want to do is, after assigning those values to the arrays, check if the dimensions of arrays A and B are the same so I can do matrix arithmetic with them (addition, scalar multiplication, etc).