How can i create a multidimensional array for more than 3 dimension like below:
If someone knows please tell me, i really need this thing.Code:int dim1, dim2, dim3; dim1=10000; dim2=99; dim3=9; #define s(i,j,k) (array[dim2*dim3*i + dim3*j + k]) double * array = (double *)malloc(dim1*dim2*dim3*sizeof(double));




Reply With Quote
