Skip to content
← Back to Community
C++ keypress
Profile icon
SilentShadowBla

Is there any way to detect a keypress without using the getch() function?

Thanks

Voters
Profile icon
JavierAntonioA5
Profile icon
FraserXAngie
Profile icon
SilentShadowBla
Comments
hotnewtop
Profile icon
RomeroSchwarz

Here is a tutorial I made on this. I hope it explains it well.

If this post helped, mark it as the answer

Profile icon
SixBeeps

You could use kbhit