Mail Archives: djgpp/1997/12/08/08:54:15
On Fri, 5 Dec 1997, Nate Eldredge wrote:
> Actually, he's right: the effect of that code is to read one character from
> DOS standard input. This may be a problem, since on other compilers (at
> least Turbo C) `getch' reads directly from the keyboard.
I have just checked, and in Borland 3.1, `getch' reads from stdin as
well. Are you sure Turbo C is different? (Try redirecting stdin and
see if `getch' reads a character or waits for keyboard input.)
- Raw text -