You can't delete 1 element from an array like that.
1 2 3 4 5 6 7
delete [] array;//free's memory for the entire array
//reallocate dynamic memory
//size of array should decrease because you wan't to remove an element
//create a new array with all the values except for the one you want to delete.
Look into how to implement a copy constructor, destructor, and overloaded assignment operator. This will give you a better understanding of memory management.