Hi,
When I run my program it crashes and a message that an asseration failure happened appears. when I debug the program it points to following:
for ( i = 0; i < delta*d; ++i)
delete [] o[i];
delete [] o;
I create this array as follows:
int **o;
// Allocate memory
o = new int*[delta*d];
for (int i = 0; i < delta*d; ++i)
o[i] = new int[delta*d];
Is the way I am creating or deleting the dynamic array wrong?. If not then what else may cause the assertion failure?. Thanks,