cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Play sound while key is pressed
Play sound while key is pressed
Mar 10, 2012 at 11:30pm UTC
rphello101
(1)
I am attempting to write a simple console based piano-type program. I need the computer to play a sound when a key is pressed and stop playing the sound when a key is released. How do I do this?
Topic archived. No new replies allowed.