I have opened a file to write to it and I need to add to then end of the file at different points in time. When I had opened the file, I had used the ios::ate flag.
A fnct later needs to re-open the file to read the data, but the marker is located at the end of the file (due to ios::ate) and I dont know how to reposition the marker so that it is at the beginning again.
Does anyone know how to reposition the marker, or am I making a mistake by using ios::ate?
thanx