|
-
July 29th, 2008, 06:07 PM
#1
Why should I close a file?
Hi,
I building an app that write info to a file every few seconds using:
Code:
std::wofstream FileWrite
At the moment I am closing the file after writing each info message,
And I was wondering if I am the only one who is writing to the file why should i close it?
Can I leave a file open during the application life time?
Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|