Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Pressing a certain key
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Pressing a certain key (Read 2574 times)
Sergiualamic
Single posting newcomer
Posts: 2
Pressing a certain key
«
on:
August 26, 2018, 01:16:01 pm »
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();
«
Last Edit: August 26, 2018, 01:18:15 pm by Sergiualamic
»
Logged
stahta01
Lives here!
Posts: 7591
Re: Pressing a certain key
«
Reply #1 on:
August 26, 2018, 04:08:12 pm »
Off topic for this website
http://forums.codeblocks.org/index.php/topic,9996.0.html
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
Sergiualamic
Single posting newcomer
Posts: 2
Re: Pressing a certain key
«
Reply #2 on:
August 26, 2018, 06:33:29 pm »
Thanks!
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Pressing a certain key