Advertisement
Milaj

Untitled

Oct 2nd, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.88 KB | None | 0 0
  1. // Valera.cpp : Defines the entry point for the console application.
  2. //
  3.  
  4. ///////////////////////////////////////////
  5. /* © 2016 Shpartko - All rights reserved */
  6. ///////////////////////////////////////////
  7.  
  8.  
  9. #include "stdafx.h"
  10. #include "Windows.h"
  11. #include <string>
  12. #include <iostream>
  13. #include <ctime>
  14. using std::cout;
  15. using std::cin;
  16. using std::string;
  17. using std::endl;
  18. string copy() {//Êîïèðàéò
  19.     return "\n© 2016 Shpartko - All rights reserved\n\n";
  20. }
  21. int main()
  22. {
  23. SetConsoleCP(1251);
  24. SetConsoleOutputCP(1251);
  25. srand(time(0));
  26. string str[13];
  27. string stD[3];
  28. string Valera;
  29. str[0] = "Ýòî ÷åëîâåê íå âûêëþ÷èë ìóçûêó êîãäà óøåë\n";
  30. str[1] = "Ñòÿæêè ðÿäîì ñ íèì àâòîìàòè÷åñêè ëîïàþòñÿ\n";
  31. str[2] = "Ïåí¸ê ñàìîõîäíûé\n";
  32. str[3] = "Ñëóøàåò Àëèñó\n";
  33. str[4] = "Õî÷åò çàïîòåòü â ñëåäóþùåì íî íå ïîëó÷àåòñÿ\n";
  34. str[5] = "Ïèäîð êîòîðûé íå çàì¸ë êðîøêè ñ ïîëà\n";
  35. str[6] = "Ëþáèò ãðÿçíûõ ñó÷åê.. (íåò)\n";
  36. str[7] = "Äåëèò íà íîëü\n";
  37. str[8] = "Äåëàåò âûõîä íà 3\n";
  38. str[9] = "Ïîëþáèë Êó÷ó íà III êóðñå \n";
  39. stD[0] = "0)";
  40. stD[1] = ")0";
  41. stD[2] = "0)))";
  42. cout<<copy();
  43.     while (true)
  44.     {
  45.         short i = rand() % 9;
  46.         cout << str[i];
  47.         cout << "Êòî_Oí?# "; cin >> Valera;
  48.         if (Valera == "Âàëåðà" || Valera == "ß" || Valera == "Êîçèíîâ" || Valera == "Äæîéêàçèíà"
  49.          || Valera == "Ñåïàðàòèñò" || Valera == "Õàðüêîâñêèé áóíòàðü" || Valera == "Hellcat")
  50.         {
  51.             cout << "Ìîëîäöà, ñîñíè õóéöà";
  52.             while (true) { i = rand() % 2; cout << stD[i]; Sleep(500); }
  53.         }
  54.         else
  55.             cout << "\tÍå óãàäàë, íó ñ êåì íå áûâàåò\n\n";
  56.         Sleep(1000);
  57.     }
  58.     return 0;
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement