/in/ex3.cpp: In function 'int main()':
/in/ex3.cpp:13:14: error: 'judge' was not declared in this scope
judge (&n);//判断矩阵的大小:把n的地址赋给judge函数,让judge对n进行一番操作
^
/in/ex3.cpp:14:15: error: ISO C++ forbids variable length array 'A' [-Werror=vla]
int A[n][n];
^
/in/ex3.cpp:14:15: error: ISO C++ forbids variable length array 'A' [-Werror=vla]
/in/ex3.cpp:15:15: error: ISO C++ forbids variable length array 'B' [-Werror=vla]
int B[n][n];//建造两个二维数组,用来放初始矩阵
^
/in/ex3.cpp:15:15: error: ISO C++ forbids variable length array 'B' [-Werror=vla]
/in/ex3.cpp:16:26: error: 'valuation' was not declared in this scope
valuation(A[0],B[0],n);//读取矩阵
^
/in/ex3.cpp:17:15: error: ISO C++ forbids variable length array 'S' [-Werror=vla]
int S[n][n],M[n][n],Ta[n][n],Tb[n][n],TM[n][n];//建造一些二维数组,用来储存做好的矩阵运算结果
^
/in/ex3.cpp:17:15: error: ISO C++ forbids variable length array 'S' [-Werror=vla]
/in/ex3.cpp:17:23: error: ISO C++ forbids variable length array 'M' [-Werror=vla]
int S[n][n],M[n][n],Ta[n][n],Tb[n][n],TM[n][n];//建造一些二维数组,用来储存做好的矩阵运算结果
^
/in/ex3.cpp:17:23: error: ISO C++ forbids variable length array 'M' [-Werror=vla]
/in/ex3.cpp:17:32: error: ISO C++ forbids variable length array 'Ta' [-Werror=vla]
int S[n][n],M[n][n],Ta[n][n],Tb[n][n],TM[n][n];//建造一些二维数组,用来储存做好的矩阵运算结果
^
/in/ex3.cpp:17:32: error: ISO C++ forbids variable length array 'Ta' [-Werror=vla]
/in/ex3.cpp:17:41: error: ISO C++ forbids variable length array 'Tb' [-Werror=vla]
int S[n][n],M[n][n],Ta[n][n],Tb[n][n],TM[n][n];//建造一些二维数组,用来储存做好的矩阵运算结果
^
/in/ex3.cpp:17:41: error: ISO C++ forbids variable length array 'Tb' [-Werror=vla]
/in/ex3.cpp:17:50: error: ISO C++ forbids variable length array 'TM' [-Werror=vla]
int S[n][n],M[n][n],Ta[n][n],Tb[n][n],TM[n][n];//建造一些二维数组,用来储存做好的矩阵运算结果
^
/in/ex3.cpp:17:50: error: ISO C++ forbids variable length array 'TM' [-Werror=vla]
/in/ex3.cpp:18:25: error: 'sum' was not declared in this scope
sum(A[0],B[0],S[0],n);//求和
^
/in/ex3.cpp:19:25: error: 'mul' was not declared in this scope
mul(A[0],B[0],M[0],n);//求积
^
/in/ex3.cpp:21:21: error: 'tra' was not declared in this scope
tra(A[0],Ta[0],n);//转置A
^
cc1plus: all warnings being treated as errors