From: Vik Heyndrickx Newsgroups: comp.os.msdos.djgpp Subject: Re: readkey() problem Date: Tue, 27 Jan 1998 08:53:26 +0100 Organization: University of Ghent, Belgium Lines: 14 Message-ID: <34CD9276.5BAE@rug.ac.be> References: NNTP-Posting-Host: eduserv1.rug.ac.be 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 Precedence: bulk Matt Riker wrote: > > Whenever I use readkey() in place of where getch() would normally be, > the line that is supposed to be displayed first (ie. "Press any key...") > doesn't display until a key is pressed. The reason for this is that djgpp buffers the file output. This IS described in the FAQ. BTW You should also encounter this problem with getch() -- \ Vik /-_-_-_-_-_-_/ \___/ Heyndrickx / \ /-_-_-_-_-_-_/