Hey everyone I was just wondering if it was possible to detect a keystroke like an up arrow or down arrow (for menu navigating purposes) in a console program?
Do I need windows.h to do this?
Hey everyone I was just wondering if it was possible to detect a keystroke like an up arrow or down arrow (for menu navigating purposes) in a console program?
Do I need windows.h to do this?
Sometimes I forget what I am doing when I enter a room, actually, quite often.
If you're on Windows then that is probably your best bet. I don't believe there is a standard way to do it.
Are the keycodes displayed in the FAQ the ones for windows? They are correct? I didn't know you could do it with getch like that, nifty..
Sometimes I forget what I am doing when I enter a room, actually, quite often.