There are other questions on how to make a beep sound in C(using a function) for Windows and Mac OS, but I could find none for Linux (the one I need), do I need to "#include..." anything into my code before using the fucntion?
Asked
Active
Viewed 479 times
0
-
1You could try `putchar('\07');` – Tom Karzes Mar 23 '20 at 16:59
-
1... what could be written as `putchar('\a');` with a = alarm, see ["Bell character"](https://en.wikipedia.org/wiki/Bell_character) -- No, you don't need any extra include. – the busybee Mar 23 '20 at 20:43
-
http://www.johnath.com/beep/beep.c Also: this question is a duplicate of https://stackoverflow.com/questions/10072909/beep-on-linux-in-c – AnnoyinC Mar 23 '20 at 21:01