Oct-20-2017, 04:46 AM
(This post was last modified: Oct-20-2017, 04:47 AM by gruntfutuk.)
When you open a file your cursor position is at the beginning of the file so you can read from that position. When you write to a file the cursor position is at the end if what you have written. Unless you move the cursor (closing and then opening the file or using seek) you cannot read what you've just written.
I am trying to help you, really, even if it doesn't always seem that way