Do you .close() streams?

Hello all, was just wondering.
Since a destructor automatically calls a file stream's close() function do you think it's necessary to close it manually? And if yes, why.

Thanks.
It's unnecessary, unless you want the file to close before the stream object goes out of scope.
Topic archived. No new replies allowed.