Posts by atilappl • 1 point
1 post
-
0
votes1
answer91
viewsQ: Read ESC key at runtime
I’m writing a program that reads an indefinite number of keyboard values and stops only when the user presses Esc. I tried to solve this using the function GetAsyncKeyState() as follows. #include…