Unfortuneately there isn't one DA. This is because it is highly operating system specific. In dos as you know you use interrupts.In windows you use GetAsyncKeyState().In linux/unix you use...
Type: Posts; User: Stoned_Coder
Unfortuneately there isn't one DA. This is because it is highly operating system specific. In dos as you know you use interrupts.In windows you use GetAsyncKeyState().In linux/unix you use...
only problem with kbhit() is that it is not part of either the c or c++ standards therefore not all compilers have this facility.