Getting character

How can we get the character without pressing the enter key.
I mean I want to make a program in which a condition has to be checked if it evaluates to be true the program proceedsfurther and if it does not it just ends and I want to check the condition by getting a character from the user but without pressing the enter key by the user...
Topic archived. No new replies allowed.