Eclipse Console (Read a single character without pressing return)

[b][red]This message was edited by Cpp Newbie at 2007-1-29 2:1:3[/red][/b][hr]
Hi,

I need to be able to read a single character from the console wihout the user pressing enter, but Im not sure how to do it. At the moment I have a menu and the user presses a number for the option they want and then they have to press enter.

How do you remove the need to press enter?

Thanks,
Adam

(Using Java 1.5, Eclipse SDK, Windows XP)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories