Date: Mon, 10 Oct 1994 17:53:33 -0400 (EDT) From: Kimberley Burchett Subject: Re: keboard messups clarification To: Edwin Phillips Cc: DJGPP Mailing List On Mon, 10 Oct 1994, Edwin Phillips wrote: > On Mon, 10 Oct 1994, Kimberley Burchett wrote: > > > Peter Jones pointed out to me that I listed the code that worked as the > > code that didn't work, and the code that didn't work as the code that > > did. In other words, the one with getch() works. Sorry about that. :) > > The code with only the kbhit() doesn't work because once you > press a key the first time, kbhit() returns 1 until you read it. Which > means the rotation never stops. As soon as a key is pressed, the program halts. The problem is not that it goes on forever (which it does NOT do), but that it does not rotate correctly. Kim