cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
changing variable with key input
changing variable with key input
Mar 1, 2018 at 1:02pm UTC
mallet454
(1)
Hi guys,
I am trying to write a code so when I press a key it changes the value of a variable from 0 to 1. When I press it again, it goes back to 0, and so on. Can anyone help?
Topic archived. No new replies allowed.