i want the list of functions to edit a text file in c++ plz?
Depends on the type of file, what you want to do with it, and what libraries you want to use (standard vs non-standard).
can i have 2 diffrent pointer to a file at time ?
Yes, but it's not a good idea
how can i delete the last line of my text file?
Once again, depending on the file type, open the file, read it in, print it back out to the file, except for the last line.