Search:

Type: Posts; User: CommonTater

Search: Search took 0.06 seconds.

  1. Read or RE-read messages 3 and 6 in this...

    Read or RE-read messages 3 and 6 in this thread...

    Writing to the file resets the EOF flag.
  2. Ok so you do fread() and it hits the end of the...

    Ok so you do fread() and it hits the end of the file...
    Now you write to the file at a higher postion... position * sizeof(struct) ...
    the file gets bigger and the EOF flag is reset
    Now you come...
  3. Look closely at your code .... Keep close track...

    Look closely at your code ....
    Keep close track of what you are reading, where you are seeking to and what you are writing...
    You will never hit the end of the file because the file keeps getting...
Results 1 to 3 of 3