If someone could help I would greatly appreciate. I am reading in a compressed file, searching for "bad" data, and writing out an error file if any bad data is found. My problem is that the "good" file is writing fine, but i am not able to write to the other file. I noticed that I can get things to print if I loop more than five times.
I even tried inserting and fprintf command at the very beginning of the program and nothing will write to this file. This is very weird and I have never encountered this before. Does anyone have any ideas? Thanks.