writing to file, then edit later

how to i go about writing to a file, possibly with a & then going to that spot and editing it, random access, idk? i dont even know what code to write.

the assignment is to make a booking, then being able to edit or remove it later.
Topic archived. No new replies allowed.