View Single Post
Re: std::fstream Is not writing :(
Old
  (#8)
mirv
Super Moderator
 
mirv's Avatar
 
Status: Offline
Posts: 152
Join Date: Apr 2004
Default Re: std::fstream Is not writing :( - 27-03-2005

Don't forget to flush the buffer contents - it may not be writing to the actual file because it's waiting for a more efficient time to swap it out of memory to the disk. fflush for some of the C file i/o, or just file.flush() for C++ I think.


mirv the Silly Fish.
  
Reply With Quote