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