//Function Beep, part of windows.h library, first parameter is frequency //in hertz, second parameter is time in miliseconds #include<iostream> #include<windows.h> using namespace std; int main() { Beep(200,300); }