Ok pretty simple: How to make internal speaker beep on Linux. For personal use does not need to be portable. I know I have an internal speaker... BIOS loves that thing...
Zssffssz
-4
Junior Poster
Recommended Answers
Jump to PostOn most distros you should be able to just use the "alarm" character (0x07, or "\a" as an escaped sequence). In other words, this should work:
#include <iostream> int main() { std::cout << "\a"; return 0; };
If not, you can use the "beep" program (install it …
All 2 Replies
Reply to this topic
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.