delorie.com/archives/browse.cgi | search |
From: | Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be> |
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: | <MPG DOT f36e0bf8faddf6a9896b4 AT news> |
NNTP-Posting-Host: | eduserv1.rug.ac.be |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 / \ /-_-_-_-_-_-_/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |