I can easily call the fstream class within main(). However, I cannot pass the instance of fstream into another class. Furthermore, I tried #include fstream in the class member function file. That does ...
A lady asked a question in my CS class today which is bugging me...<BR><BR>She opened a file using fstream in a program, closed it, and then opened it, and then in her words it "wouldn't work." I've ...