[plug] C, bad syntax etc.

Carl Gherardi C.Gherardi at curtin.edu.au
Tue Nov 19 09:46:17 WST 2002



> From: Denis Brown
> 
> 
> As to why your fclose doesn't behave... anyone???   Corrupted library
> maybe?
>

My guess is fptr = fopen ("myfile.txt", "wa+"); is nuking the file then
appending each time through the loop.

Carl



More information about the plug mailing list