ok the answer to this is probably very simple, but i've never had to do it before and had no luck on google, so maybe someone here can help me. i have a .txt file that i'm writing to, using an ofstream, and i want to be able to delete a line from the file. how can i do this?