to input information from a file or output for that matter, the program uses a pointer to determine location in a file. so if I create two arrays, one populated by the user, the other populated inputing from a file, part of my array input from file could be pointer location right?

If so, with that in mind I should be able to use that information to delete information at that pointer location from the input file?

basically I want to compare the user information and file input information and if they match delete the information from the file.

I have no problem populating the arrays with the proper info, but I cant find away to delete the information at that point of the file.
Anyone know of where I could research this? All my beginners books are not helping and I have not found anything on the net just yet, still looking though.....