I've been trying to workout a way to read a single keypress by the user and put the char in a variable (like the readkey function in pascal).
I tried getc(stdin). But it keeps reading till user pressed enter =/
If anyone managed to do it, please share it with us
Thx in advance!