Writing to file truncates even with FILE_READ|FILE_WRITE
Hello,
As the title says, I have this bit of testing code, but the file has only one "1" no matter how many times I run it. What am I missing?
Thanks!
If you want to write to .txt file, use FILE_CSV not FILE_BIN.
And close the opened file after that.
Hello,
As the title says, I have this bit of testing code, but the file has only one "1" no matter how many times I run it. What am I missing?
FileSeek(handle, 0, SEEK_END); //---- add data to the end of file
Hello,
As the title says, I have this bit of testing code, but the file has only one "1" no matter how many times I run it. What am I missing?
Thanks!