How do you check if one of the Function keys have been pressed? Do they produce a character so I can use scanf or some other function to get it into a char variable to see if it's been pressed?
THX alot!
CKarl
How do you check if one of the Function keys have been pressed? Do they produce a character so I can use scanf or some other function to get it into a char variable to see if it's been pressed?
THX alot!
CKarl
THERE IS NO PLACE LIKE 127.0.0.1
I assume since you are using scanf, you mean in a dos program. You have to use windows.h, but you can test to see if this function returns true, and if it does the key is pressed. It is:
GetKeyState(VK_F1);
It doesn't make a character to scanf so you will have to test the key instead. I hope it works in dos.
I'm useing Linux to program on and I'm going to port it to another OS. How do that in Linux?
THERE IS NO PLACE LIKE 127.0.0.1
THX
Where are some good tutorials on the curses libary? (for later use of curses)
THERE IS NO PLACE LIKE 127.0.0.1
Google.Originally posted by Budgiekarl
THX
Where are some good tutorials on the curses libary? (for later use of curses)
Quzah.
Hope is the first step on the road to disappointment.