Good day, here is one of the commands that will allow you to get sound in your program. It was compiled using DevC++.
Beep (fequency in cycles, duration in milliseconds); // The capital letter 'B' is mandatory An additional compiler directive is needed: #include <windows.h> Beep(1000, 2000); will make a sound of 1000 cycles for 2 seconds
About the Author
zandiago Nearly a Posting Maven