>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> fwrite is essentially fprintf without buffering. So it should be
Lars> no problem switching to fprintf. (actually fprintf are
Lars> preferrable because of the buffering)

fwrite was used instead of fprintf because it is supposedly faster, I
think.


Lars> BUT it is strange, both fwrite and fprintf are conforming to
Lars> ANSI C.  Could it be that we are missing a file.close or a
Lars> file.flush ?

The file.close() is there. Is the file.flush() necessary?

JMarc

Reply via email to