In this exercise
File I/O, topic 6
is still worked, but the thing is, that there's no
method for this.
But file text.txt get new data - "Not closing files is VERY BAD."
There is an error or what?
Because in theory, buffer is flashed, if you don't close the opened session with file.
If you write to a file without closing, the data won't make it to the target file.
You need to close opened file for writing data to it.