Deleting Entries from a database
i have created (or half made) an address book program.
It saves the name, address etc into a text file.
but the parts i am stuck on now, is how to edit and delete records.
how would i go about deleting one of the entries? would i have to copy the contents of the old file to a new file, minus the parts i dont want in it?
or is there a better way to just delete say the 5/6 lines and move the next entry up 5/6 lines?