why is this prog crashing on delete?

Printable View