So I want to programm snake and fo that I tried to use kbhit() from the conio.h Library but it doesnt work. It's detected as a variable and therefor gives an error. Can anyone tell me why that is or give me an alternitive way of detecting wheather a key is hit?