xxxxxxxxxx
string** new_array = array;
for(int i=0; i<numRows; i++){
new_array = new string[coloumns]
if(i != n){ // <- if you want to delete nth row then
new_array[i] = array[i];
}
}
array = new_array; // <- now array excluding nth row is saved in this pointer.
xxxxxxxxxx
for (int i = 0; i < numRows; i++) {
delete [] world[i];
// world[i] = 0; // <- don't have to do this
}
delete [] world; // <- because they won't exist anymore after this
world = 0;