Help with keyboard inputs

Started by
2 comments, last by SteelBlue 22 years, 7 months ago
My problem is i am writing this program that needs to record keyboard inputs. It needs to do something if the ''x'' key is pressed and something else if the ''y'' key is pressed. someone suggested using getch(). I tried that but i get an error saying the getch is a undeclared identifier. do i have to #include any special library to use getch()? Please help. Thanks Tha Funkalicious one
Tha Funkalicious one
Advertisement
Yes, conio.h if I remember correctly.

=====
Khaos
=====
Thanx Khaos, you are a freaking genious man.

Tha Funkalicious one
Tha Funkalicious one
No problem man. I sense sarcasim though.

=====
Khaos
=====

This topic is closed to new replies.

Advertisement