![]() |
|
#1
|
|||
|
|||
C#, kbhit & getchIn C#, what methods take the place of the old kbhit and getch functions in C? (I'm writing a console application in Visual Studio.)
|
|||
|
#2
|
||||
|
||||
Re: C#, kbhit & getchProbably nothing since these functions are not officially part of C. They were enhancements to specific compilers to make their compilers more "interesting".
__________________
The 3 Laws of the Procrastination Society: 1) Never do today that which can be put off until tomorrow 2) Tomorrow never comes |
|
#3
|
|||
|
|||
Re: C#, kbhit & getchQuote:
You can poke around the MotherShip (msdn) a little and read about the System.Console class: Creating Console Applications (Visual C#) Console.KeyAvailable Property Console.ReadKey Method (Boolean) Regards, Dave |
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to detect arrow keys? | Shrid | C Programming Language | 10 | 14-Aug-2008 23:46 |
| How does getch() work? | KingSAT | C Programming Language | 2 | 12-Feb-2007 05:45 |
| Urgent ! Pls Help Me ! | mycashmoney | C Programming Language | 4 | 01-Jul-2006 22:49 |
| How to interpret characters as they are being entered? | nkhambal | C Programming Language | 18 | 14-Feb-2006 10:41 |
| why two getch() ?? | meet_raman | C Programming Language | 10 | 02-May-2004 17:14 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The