You can't open a file in append mode, and then try to read from the file.
You can't fseek() to the end of the file, and then try to read from the file.
I don't know how to make it any plainer...
Type: Posts; User: Adak
You can't open a file in append mode, and then try to read from the file.
You can't fseek() to the end of the file, and then try to read from the file.
I don't know how to make it any plainer...
WHAT isn't working right?
Describe the problem like you did in the first post of this thread - that was good.
It would be great to know if the advice given since then, has solved that first...
If you pulled in the data using fscanf(), ( or from a buffer, using sscanf() ), then you know you need to add the newline.
So when would you NOT need to enter the newline into the file output?
...