Does this have a mem leak?Of course. Prior to delete[] p;, you need: for(int i=0 ; i<10 ; ++i) delete [] p[i];
This user does not accept Private Messages