Hi, ALL,
I have a function that's open an ofstream and writes some data to it. It's working fine.

I also have a function that opens the same file using ostream. It opens it for adding data. The problem is that after creating the file, I'd like to move the file pointer behind the eof. However, it looks like I couldn't do it.

I'm using Visual Studio 6.

Is it a bug in the compiler and I should upgrade or it is a problem with my code and I should use ofstream?

Thank you.