The GCC compiler not supports conio.h header file. So I can't use a kbhit() function in my code. I want to determine if a key has been pressed or not.
What I have tried:
Not able to find, I tried using scanf but it's not work,I want to proper way to solve this problem.