J
James McLaughlin
Hi,
Does anyone know if it's possible to write either a getch()
(preferably Borland-style) or getche() function in C without it being
platform-dependent or otherwise non-standard?
If not, can someone suggest a good alternative for situations where
you require the user to "press any key to continue" or "press Enter to
continue" - with getch(), the mistakes that a user can make with
getchar() and the like just don't occur.
Thanks,
James McLaughlin
Does anyone know if it's possible to write either a getch()
(preferably Borland-style) or getche() function in C without it being
platform-dependent or otherwise non-standard?
If not, can someone suggest a good alternative for situations where
you require the user to "press any key to continue" or "press Enter to
continue" - with getch(), the mistakes that a user can make with
getchar() and the like just don't occur.
Thanks,
James McLaughlin