I'm making a program where the user will be able to organise their orders so they see which ones are complete and incomplete.
I want to allow the user to be able to delete an entry from a file (*.txt) as this will be used in two ways:
1. To remove an accidental submission from IncompleteOrder File.
2. To remove an entry from the IncompleteOrder File once it has been added to the CompleteOrder file.
I know how I will go about getting the information from the IncompleteOrder file and writing it to the CompleteOrder file, I just need to know if there is a way of deleting an entry from a file.