Testing for input
How do you test to see if a key is pressed in windows? I know for dos you can go if(kbhit())
is it the same with a windows program?
Also can you go
if(array[0]=kbhit())
to see if the person presses a key but also put the key he pressed into the first address of the array?
Please help
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement