Is there any way to use standard C++ to wait for user input? And by input I don't mean just the enter key, I mean ANY key will continue executing code. I know about the conio.h and Windows.h libraries but those aren't standard C++ and I really want to get out of the habit of using them.
Vladnaka
0
Newbie Poster
Recommended Answers
Jump to PostThere are libraries that try to provide this behavior across multiple platforms. PDcurses is one example.
Jump to PostNo. They wait for the ENTER to be pressed
All 5 Replies
pseudorandom21
166
Practically a Posting Shark
L7Sqr
227
Practically a Master Poster
jaskij
45
Junior Poster in Training
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
jaskij
commented:
My bad :(
+4
jaskij
45
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.