How do I seek and delete in a file ?
I need to find a number in a file, and delete it.
seekfile = fopen("seeknr.dat","a+");
What shall I use to open the file with.
a+ is only to append some data....
w+ will overwrite the data in the file, when it opens it.
r+ will only read.
I need to both read, write and delete...
Any good ideas...
Hope to get help
Gugge