I should think the latter is causing the former, in this case.
Type: Posts; User: CommonTater
I should think the latter is causing the former, in this case.
Adak... if you're thinking the hard disk is spinning down, that's very unlikely while it's being accessed. Windows keeps a number of timers --Screensaver, Monitor, Standby, DrivePark, etc.-- and...
fflush wants a file handle not a buffer pointer... should be fflush(op); and it should be before fclose(op);
You might also want to give some thought to not creating an array of 10,800,000...