This is a part of my program to multiply 2 Matrices.
int m1, m2, n1, n2;
int first[m1][n1], second[m2][n2], result[m1][n2];
cout<<"Please enter no.of rows and columns of the 1st Matrix, respectively :";
cin>>m1>>n1;
And I am getting these Errors
error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0
error C2057: expected constant expression
error C2087: '<Unknown>' : missing subscript
error C2133: 'first' : unknown size
I am typing this code in Visual C++ 6.0 (Very old version), because this is currently what is taught to us at school. Please help me to get rid of these errors. Thanks in advance.