Hello, I have written a program that reads pdb files (protein databank) interprets some values and prints back data into a file. Because I need my data without closing the program I use autoflush. The method seemed to work well with my sample file. But when I switched to other pdb files for bug testing, the autoflush did not work. It wrote data halfway through into the output and wrote the remaining when I close the program... What might be the reason for this behaviour (I checked autoflush many times) ? Does the program enter some kind of loop somewhere?
Thanks a lot...