Johnsy Joseph <jo*************@hotmail.com> scribbled the following:
Hello Everybody,
I am trying to write a program that reads a single character, but I
always need to press the enter key too. Is there any way to read just
a single character without waiting for the enter key to also be
pressed?
C *does* read characters without waiting. It's your operating system
that waits for Enter. Unfortunately, there is no standard way to make
it stop waiting.
--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-------------------------------------------------------- rules! --------/
"That's no raisin - it's an ALIEN!"
- Tourist in MTV's Oddities