CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Threaded View

  1. #6
    Join Date
    May 2006
    Posts
    21

    Re: Problem with ofstream...

    Code:
    fouttrans.close();
    foutmaster.close();
    is enough.

    However, recommends you to use ofstream like this:
    Code:
    ofstream foutmaster;
    foutmaster.open("master.data", ... );
    ..........
    foutmaster.close();
    Last edited by gfzhang; December 7th, 2008 at 11:54 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured