One of the sound commands

zandiago 0 Tallied Votes 182 Views Share

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
Ene Uran 638 Posting Virtuoso
t3ch|\/|4n 0 Newbie Poster

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 :)

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.