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
When this key is pressed, do this...
When this key is pressed, do this...
Jun 2, 2012 at 5:10am UTC
austin jerich
(1)
so i'm starting on a project and i'm displaying some text, and when you press the enter key it moves on to the next set of text. but i can't figure out how to get it to recognize that i pressed enter and then move on.
Jun 2, 2012 at 5:51am UTC
AoZplusplus
(26)
http://answers.yahoo.com/question/index?qid=20081031000054AAtZugP
Not sure if the above answer works, but you should definitely try getchar();
http://www.cplusplus.com/reference/clibrary/cstdio/getchar/
Topic archived. No new replies allowed.