Mail Archives: djgpp/1995/07/17/18:08:20
From: dr DOT brain AT iol DOT it (Dr. Brain)
Newsgroups: comp.os.msdos.djgpp
Date: Sun, 16 Jul 1995 07:40:10 GMT
I've got a problem porting BolrandC programs to DJGPP: if I don't
specify setbuf(stdout, NULL) in DJGPP I have a buffered output, that
can't be seen until the newline is printed...
How can I do to avoid the setbuf line in every program?
C ya
Print to stderr rather than stdout (ie use fprintf( stderr, ....); instead of
printf(...);) DJGPP is behaving correctly.
--
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com
Variety is the soul of pleasure. -- Aphra Behn
- Raw text -