From: "John M. Aldrich" 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: Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. | ---------------------------------------------------------------------