int **Point_in_Range;
sub_vol_size_xi =512;
sub_vol_size_yi =512;
sub_vol_size_zi=512;
Point_in_Range=(int**)malloc(sizeof(int*)*(sub_vol_size_xi*sub_vol_size_yi*sub_vol_size_zi));
cout<<"Get Here1"<<endl;
for(j=0;j<sub_vol_size_xi*sub_vol_size_yi*sub_vol_size_zi;j++){
cout<<j<<endl;
Point_in_Range[j]=(int*)malloc(sizeof(int)*3);
}
What is the memory problem.... been stuck on this for a little while now.
thanks in advance