J
Jean-Claude Arbaut
Hi,
I can use:
double get(int n, int p, double t[n][p], int i, int j) {
return t[j];
}
and in another function
double (*u)[];
t = (double (*)[])calloc(n*p, sizeof(double));
a=get(n,p,u,i,j);
Now, how would I declare u for 3 dimensions or more ?
I can use:
double get(int n, int p, double t[n][p], int i, int j) {
return t[j];
}
and in another function
double (*u)[];
t = (double (*)[])calloc(n*p, sizeof(double));
a=get(n,p,u,i,j);
Now, how would I declare u for 3 dimensions or more ?