Date: Mon, 15 Sep 1997 14:38:05 +0300 (IDT) From: Eli Zaretskii To: ludvig cc: djgpp AT delorie DOT com Subject: Re: Why? In-Reply-To: <341C308A.F89@club-internet.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 14 Sep 1997, ludvig wrote: > > I had the same problem. Flush the buffer after the printf with > > fflush(stdout) or turn buffering off > > > > I have the same problem... How can I turn the buffering off? Use the library function `setvbuf'. But the best way to solve these problems is to never get into them in the first place. How? Read section 9.4 in the DJGPP FAQ list (available as v2/faq210b.zip from the same place you get DJGPP).