Date: Thu, 8 May 1997 17:09:59 +0300 (IDT) From: Eli Zaretskii To: Ben N Shadwick cc: djgpp AT delorie DOT com Subject: Re: putc and '0x0A' In-Reply-To: <19970508.064438.3462.1.bshadwick@juno.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 8 May 1997, Ben N Shadwick wrote: > So is there a way to output to the screen characters and such without it > waiting for a \n to display the whole line and without using the conio.h You need to make the stream that writes to the screen (normally, stdout) unbuffered. Check out the `setvbuf' library function; it is ANSI, and thus portable. Alternatively, you can call `fflush' when you need to actually deliver the output to the screen.