Open a file with a constructor
Posted on 2004-10-02
I am trying to open a file in the classes contructor. The file is
created and the program even thinks it is open and tries to write to
it with no errors, but when I look at the file it is zero
bytes..nothing was written to it. As a side note this program resides on a Linux box.
Here is part of my code if anyone
can help me. I do appreciate it.
using namespace std;
//writing file stuff