is enough.Code:fouttrans.close(); foutmaster.close();
However, recommends you to use ofstream like this:
Code:ofstream foutmaster; foutmaster.open("master.data", ... ); .......... foutmaster.close();
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 11 of 11
Thread: Problem with ofstream...Threaded View
|
Click Here to Expand Forum to Full Width |