Can you suppose that beeps of different frequency and duration be produced by C++ Program…Ya its possible to create beeps of different frequency through a c++ function and you would be amazed to hear that.
Program to Echo Beep of frequency 500Hz….
Syntax:
#include<windows.h> //A Header File used for windows programming
main()
{
Beep(500,1000); //Beep(frequency_in _hertz,Duration_in_ms)
}
Note:Take care of spelling, B should be capital in Beeps and it will work only in Windows.