User forums > Using Code::Blocks
Pressing a certain key
(1/1)
Sergiualamic:
Hi, while I was working at a console application in CodeBlocks, I wanted to check if a certain key (like ,,z,,) is pressed, but I know only to check if any key was pressed, can you guys help me?! :(
I am using this:
key=getch();
stahta01:
Off topic for this website http://forums.codeblocks.org/index.php/topic,9996.0.html
Sergiualamic:
Thanks!
Navigation
[0] Message Index
Go to full version