Hi,
I'm doing quite a simple thing which is giving me problems. I m allocating memory for a 3dimensional array as the following:


double ***alloc()
{
double ***tp;
int x;
long t;
tp=(double ***)calloc(maxt ,sizeof(double **));
for(t=0;x<=maxt ;t++)
tp[t]=(double **)calloc(maxx+ 1,sizeof(double *));

for(t=0;t<=maxt ;t++)
for(x=0;x<=maxx +1;x++)...