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
Member Avatar zandiago Nearly a Posting Maven


Ene Uran 638


Sweet!!!! This+keylogger+run on startup is a funny prank!! Use to get your coworkers' pws and drive them crazy!!! im going to upload on my boss's computer :)