int n;
printf("输入n\n");
scanf("%d",&n);
double **a= (double**)calloc(n,sizeof(double));//a[]动态行
for(int x1=0;x1<n;x1++){
a[x1]=(double*)calloc(n,sizeof(double));//a[x1][]
}
double *b=(double *)calloc(n,sizeof(double));
printf("输入n\n");
scanf("%d",&n);
double **a= (double**)calloc(n,sizeof(double));//a[]动态行
//
二维数组名相当于
指向指针(
一维数组)的指针(二维数组指针)
for(int x1=0;x1<n;x1++){
a[x1]=(double*)calloc(n,sizeof(double));//a[x1][]
}
double *b=(double *)calloc(n,sizeof(double));