From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: bug in printf? Date: Mon, 03 Feb 1997 14:44:06 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 15 Message-ID: <32F66A36.1EDF@cs.com> References: <01bc0fa6$84d26520$5357f8ce AT 698130> <32F571D7 DOT 3EFD AT exis DOT net> <32F63DAD DOT 45E2 AT post DOT comstar DOT ru> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp208.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 Dim Zegebart wrote: > > > must get to the screen before \n you need an un-buffered function like, > > in djgpp, cprintf() declared in conio.h. See if Watcom has conio.h too. > Or use fflush(stdout) after each printf(...) Or remove stdout buffering with setbuf( stdout, NULL ); -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Call me for your free AOL disk! | http://www.cs.com/fighteer | | Chain letters, work-at-home schemes, free long distance, etc., | | are ILLEGAL! Keep the Internet litter-free... don't SPAM. | ---------------------------------------------------------------------