I need to get the conio library
My compiler, DevC++ 4.something only has 62% of the conio.c compiler and it doesn't have the function i need. Is it possible for me to get a new conio.c that will work. Or could one of you post the function of kbhit() in you conio.c so that i could copy it into mine. (The conio.h has the kbhit prototype).
Basically how do i get kbhit.
You may need a different compiler.
See This FAQ for some suggestions.
This FAQ explains why you can't use <conio> from a different compiler.
Standard C++ is designed to work with a system where nothing gets sent-out from the keyboard 'till you hit enter. This helps with portability... but causes the problem you're having.
Of course, Windows is not part of the C++ language standard either! Personally, I didn't find it that easy. Here's a Windows tutorial, so you can check it out yourself.