.exe has stopped working.

I have an assignment which requires me to delete a dynamic array before the completion of the assignment. But if I do that I get an error message that says program.exe has stopped working. The program works fine without deleting the arrays at the end. What modifications can I make to stop that from happening again.
Are you sure that the array you're deleting is dynamic?
Topic archived. No new replies allowed.