Home › Forums › C Programming › please look at me ! › Reply To: please look at me !
August 1, 2007 at 7:26 am
#3218
S.Thananchayan
Participant
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #include <iostream><br /> #include <windows.h> // WinApi header<br /> using namespace<span style="font-size:1.0em"> std;<br /> int main()<br /> {<br /> Beep(523,1000); //523 hertz (C5) for 500 milliseconds<span style="font-size:1.0em"><br /> Beep(587,500);<br /> Beep(659,500);<br /> Beep(698,500);<br /> Beep(784,500);<br /> Beep(698,500);<br /> Beep(659,500);<br /> Beep(587,500);<br /> Beep(523,1000);<br /> return<span style="font-size:1.0em"> 0;<br /> }</span></span></span></iostream> |