|
-
Nov 3rd, 2001, 11:14 AM
#1
Thread Starter
Addicted Member
Console Input Without The Return
Hi,
Does anyone know a way I can get input from the console without having the user hit return.
Say for example I display a menu, like so:
------------------------------------------------------------------------------------
[ MAIN MENU ]
[1] Create new account
[2] CLose account
[3] Display all accounts
[4] Display selected account
[5] Exit
Awaiting Selection:
------------------------------------------------------------------------------------
now say the user hits the number 1 key, I want the program to know he's/she selected the first opention as soon as he presses that key, without having to type 1 then hit return etc.
Oh one more thing does anyone know how to change text colour under the console and place text at given cordinates ?
[b] THANKS IN ADVANCE [/]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|