Re: How to read arrow key input in the ANSI way?
- From: fb <fb@xxxxxxxxx>
- Date: Fri, 04 Nov 2005 07:19:46 GMT
Paramesh wrote:
Hello friends,
I want to write a program where i want to use the arrow keys.
I could not find how to read the arrow key input.
The only way i know is the non-ansi way by using getch function. or by using the conio.h header file.
That is because there isn't a way to read specific keypresses. Check: http://www.eskimo.com/~scs/C-faq/s19.html
Is there any other better method?
Perhaps not better, but there are other ways of getting arrow key-codes. (But they are not portable)
Please give me a sample code.
Gimme gimme never get. Google it. There are a million examples out there.
Thank you, Paramesh.
Anytime... .
- Prev by Date: Re: Strings in C are less optimal than in (say) Pascal - correct?
- Next by Date: Re: Getting a list of files in a directory using a wildcard
- Previous by thread: Re: Display lines after pressing N and P
- Next by thread: Re: How to read arrow key input in the ANSI way?
- Index(es):