how to make sound in c 2b 2b

Solutions on MaxInterview for how to make sound in c 2b 2b by the best coders in the world

showing results for - "how to make sound in c 2b 2b"
Justina
10 Nov 2018
1//Function Beep, part of windows.h library, first parameter is frequency
2//in hertz, second parameter is time in miliseconds
3#include<iostream>
4#include<windows.h>
5using namespace std;
6
7int main()
8{
9  Beep(200,300);
10}
11
12