#include
#define MaxSize 80 #define OK 1 #define OVERFLOW -2 typedef int ElemType; typedef struct { int i,j; ElemType e; }Triple; typedef struct { Triple data[MaxSize+1]; int mu,nu,tu; }TSMatrix; void InitArray(TSMatrix &M) { int m,n,i,j; printf("请输入矩阵的行数,列数:"); scanf("%d,%d",&m,&n); ElemType ArryOne[100][100]; M.mu=m; M.nu=n; M.tu=0; printf("请输入矩阵中各元素的值:/n"); for(i=0;i
c语言版矩阵转置
最新推荐文章于 2023-11-09 22:31:18 发布