Advertisement
framebuffer

danooct1's birthday gift

Oct 1st, 2014
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.95 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3.  
  4. using namespace std;
  5. int a = 1;
  6. int main()
  7. {
  8.     cout << "Happy Birthday Dan!" << endl;
  9.         Beep(261.63,250);
  10.         Beep(261.63,250);
  11.         Beep(293.66,500);
  12.         Beep(261.63,500);
  13.         Beep(349.23,500);
  14.         Beep(329.23,1000);
  15.         Beep(0,500);
  16.         Beep(261.63,250);
  17.         Beep(261.63,250);
  18.         Beep(293.66,500);
  19.         Beep(261.63,500);
  20.         Beep(392,500);
  21.         Beep(349.23,1000);
  22.         Beep(0,500);
  23.         Beep(261.63,250);
  24.         Beep(261.63,250);
  25.         Beep(523.25,500);
  26.         Beep(440,500);
  27.         Beep(349.23,500);
  28.         Beep(329.63,500);
  29.         Beep(293.66,500);
  30.         Beep(466.16,250);
  31.         Beep(466.16,250);
  32.         Beep(440,500);
  33.         Beep(349.23,500);
  34.         Beep(392,500);
  35.         Beep(349.23,1000);
  36.         Beep(0,1000);
  37.  
  38.         while (a==1)
  39.         {
  40.             cout << "Happy Birthday jig!" << endl;
  41.         }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement