I am not able to find equivalent header file for conio.h in Linux.
Is there any option for getch()
& getche()
function in Linux?
I want to make a switch case base menu where the user will give his option just by pressing one key & process should be moved ahead. I don't want to let user to press ENTER after pressing his choice.
Just copy these functions and use it. I have found this snippet on google long before and I have saved it, Finally I've opened it after a long time for you!Hope it helps! Thanks