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
Button press
Button press
Oct 21, 2010 at 5:34pm UTC
beavis811
(4)
I am making game game that is simple but, i need some help something. How would i make it so if you press a certain button it will display a message like, if you press the up arrow key this mesage shows up
cout << "Pressed up";?
Oct 21, 2010 at 5:44pm UTC
filipe
(1165)
I don't think that's worth it:
http://www.cplusplus.com/forum/articles/28558/
Oct 21, 2010 at 5:46pm UTC
beavis811
(4)
That was just an example/
Oct 21, 2010 at 5:48pm UTC
Disch
(13742)
It depends on what API you're using.
See this:
http://www.cplusplus.com/forum/articles/28558/
EDIT: too slow!
Last edited on
Oct 21, 2010 at 5:52pm UTC
Topic archived. No new replies allowed.