At 12:08 PM -0500 11/17/00, Emerson, Tom # El Monte wrote:
>I think someone else mentioned the difference in buffering -- tell your
>programmer to add explicit fflush(stdout) commands after printf's, that
>generally helps get the output out in the "expected" order.
Another very similar solution, if you don't want to add extra fflush()
statements to the program, is to change all printf("whatever") calls to
fprintf(stdout, "whatever"). This seems to force the output to be written
immediately...
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.bogus.com
(408)252-2330
--------
Attempting to reduce spam influx.
Remove ".bogus" to create valid address.