How can I use kbhit function in Mingw64?

273 Views Asked by At

I'm developing some game in Mingw, (It's school assignment so that i cannot change the development environment). I have to consider keypress event, so i used kbhit(), included in conio headerfile. However, it doesn't normally work in Mingw64 setting. (I can include conio.h, but it doesn't work at all) Can you guys give any solution? (I can't use external sources or headerfile)

0

There are 0 best solutions below