delorie.com/archives/browse.cgi | search |
From: | "John M. Aldrich" <fighteer AT cs DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Ghosts in DJGPP :-) |
Date: | Wed, 29 Jan 1997 19:14:21 -0800 |
Organization: | Two pounds of chaos and a pinch of salt |
Lines: | 18 |
Message-ID: | <32F0120D.462C@cs.com> |
References: | <Pine DOT GSO DOT 3 DOT 95 DOT 970128014035 DOT 27048B-100000 AT hops DOT cs DOT jhu DOT edu> <qmenf4nywj DOT fsf AT X-147-16-128-32 DOT es DOT hac DOT com> |
Reply-To: | fighteer AT cs DOT com |
NNTP-Posting-Host: | ppp211.cs.com |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Douglas Gleichman wrote: > > Or just put > > setbuf(stdout, NULL); > > at the beginning of main. This doesn't always work because DOS sometimes uses its own buffers for stdout. fflush() or a newline always works, though. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | "Starting flamewars since 1993" | http://www.cs.com/fighteer | | *** NOTICE *** This .signature is generated randomly. | | If you don't like it, sue my computer. | ---------------------------------------------------------------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |