thank you both for your assistance.
Type: Posts; User: pessi
thank you both for your assistance.
Thank you for your reply...I solved the problem.
for(i=0; i< xdim; i++)
something[i] = (double **)malloc(ydim * sizeof(double *));
for(j=0; j< ydim; j++)
something[i][j] = (double...
My apologises for not adding the code tags.
I added the allocation check to make no difference. I still get the sedmentation fault and not the memory allocation failure message. The full code is...
Dear All
I have the following code which gives a segmentation fault. I dont think the array size is too large to result in a segmentation fault.
int xdim = 36;
int ydim = 256;
int zdim =...