MouseyN1

ROFLCOPTER 2.0

Dec 13th, 2012
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.11 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3. #include <string>
  4. using namespace std;
  5. int main()
  6. {
  7.     system("title ROFLCOPTER!!!");
  8.     string x;
  9.     string f;
  10.     int c = 0, q = 0;
  11.     while(true)
  12.     {
  13.         x.push_back(' ');
  14.         Beep(100,40);
  15.         cout << f;
  16.         cout << x << "ROFL:ROFL:LOL: " << endl;
  17.         cout << x <<  "       ____^____" << endl;
  18.         cout << x << "     _/      [] \\ " << endl;
  19.         cout << x << "LOL==_           \\ " << endl;
  20.         cout << x << "      \___________] " << endl;
  21.         cout << x << "         I     I " << endl;
  22.         cout << x << "       ----------/" << endl;
  23.         Sleep(40);
  24.         system("cls");
  25.         Beep(300,40);
  26.         cout << f;
  27.         cout << x << "         :LOL:ROFL:ROFL" << endl;
  28.         cout << x << "       ____^____" << endl;
  29.         cout << x << " L   _/      [] \\ " << endl;
  30.         cout << x << " O ==_           \\ " << endl;
  31.         cout << x << " L    \___________] " << endl;
  32.         cout << x << "         I     I " << endl;
  33.         cout << x << "       ----------/" << endl;
  34.         Sleep(40);
  35.         system("cls");
  36.         c++;
  37.         if (c == 45)
  38.         {
  39.             c = 0;
  40.             f += "\n\n\n";
  41.             ++q;
  42.             if (q == 10)
  43.                 f.clear();
  44.             x.clear();
  45.         }
  46.     }
  47.     return 0;
  48. }
Advertisement
Add Comment
Please, Sign In to add comment