internal speaker

Started by
4 comments, last by Wysardry 19 years, 8 months ago
i heard that you can make beeps and stuff from the internal speaker using the command "beep". if anyone knows what files to include and how to use the command i'd like to know. btw i'm using dev c++
Advertisement
Beep on MSDN
"...and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces."----------Scott Meyers, "Effective C++"
[google]: "C++ internal speaker"

http://www.polarhome.com:793/~dirmass/dloads/beep.cpp

-me
woohoo! thanks, it works!
Quote:Original post by flounder
woohoo! thanks, it works!

AFAIK; the Beep API call only works on NT based systems. Or at least that's all it does in VB6; can't see that there should be a difference.

[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]

If you just want a beep rather than a specific tone, you could always print ASCII code 7 (BEL) to the screen. [wink]

This topic is closed to new replies.

Advertisement