From: "Steven S. Falls" Newsgroups: comp.os.msdos.djgpp Subject: Keybord Read Problem Date: Mon, 06 Apr 1998 18:02:11 -0700 Organization: EarthLink Network, Inc. Lines: 14 Message-ID: <35297B13.4E5CD995@earthlink.net> Reply-To: broadview AT earthlink DOT net NNTP-Posting-Host: 38.28.60.16 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 Does anyone know how to make the keybord read without a wait or an error. For example, The commen code to deal with haveing only a keybord read would be... unsigned userinput; if(kbhit()) userinput=getkey() //or getch() but the problem is that it does not get the first key you press. You often get a delay or you have to press the key twice. Does anyone know how to deal with this problem? Thnaks, -Ardy http://www.addr.com/~ardy/