0
What happens if I don't close the file, and the program exits?
2 ответов
+ 1
you may not flush any of the data you have previously written
0
if your program closes it will be closed, however if your program crashes. nothing will be written.. use flush when logging !