Guest User

Untitled

a guest
Jun 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. #ifndef HEEDER_ZASHISHEN_OT_POVTORNOGO_VKLUCHENIYA
  2. #define PANIC true
  3. #endif
  4. #include <exception>
  5. #include <stdlib.h>
  6. #include <time.h>
  7.  
  8. template <class CLASS_OMG_WTF____>
  9. class ___ApocalypseHasOccuredException : public std::exception
  10. {
  11. virtual const char* what() const throw()
  12. {
  13. return "OMG!!! HEED THE LINKERS!11111 FUCK YOUR SINS I'M GOING HOME!";
  14. }
  15. };
  16.  
  17. namespace MYSUPERMEGA___________________NAMESPACE
  18. {
  19. class Class;
  20.  
  21. class Class
  22. {
  23. bool VERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT;
  24. Class ** __Classes;
  25.  
  26. public:
  27. Class();
  28. Class(const Class&);
  29. ~Class();
  30. Class RETuRNsELF_____(const Class * const) const;
  31. friend bool getVERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT();
  32. friend void setVERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT();
  33. Class operator/(const Class&);
  34. } CLASSINSTANCE;
  35. }
  36.  
  37. MYSUPERMEGA___________________NAMESPACE::Class::Class()
  38. {
  39. }
  40.  
  41. MYSUPERMEGA___________________NAMESPACE::Class::Class(const Class &Class_) :
  42. __Classes(new Class * [1000000])
  43. {
  44. VERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT = Class_.VERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT;
  45. for(int i = 0; i < 1000000; i ++)
  46. {
  47. __Classes[i] = NULL;
  48. }
  49. }
  50.  
  51. MYSUPERMEGA___________________NAMESPACE::Class::~Class()
  52. {
  53. for(int i = 0; i < 1000000; i ++)
  54. delete __Classes[i];
  55. delete [] __Classes;
  56. }
  57.  
  58.  
  59. MYSUPERMEGA___________________NAMESPACE::Class MYSUPERMEGA___________________NAMESPACE::Class::RETuRNsELF_____(const Class * const Class_ptr_CLASS_) const
  60. {
  61. if(this == Class_ptr_CLASS_)
  62. return *this;
  63. else
  64. return *Class_ptr_CLASS_;
  65. }
  66. bool getVERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT()
  67. {
  68. return (bool)(rand() % 2);
  69. }
  70.  
  71. void MYSUPERMEGA___________________NAMESPACE::setVERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT()
  72. {
  73. srand ( time(NULL) );
  74. MYSUPERMEGA___________________NAMESPACE::CLASSINSTANCE.VERY_IMPORTANT_PRIVATE_FIELD_USER_MAY_NEVER_SEE_IT = (bool)(rand() % 2);
  75. }
  76.  
  77. MYSUPERMEGA___________________NAMESPACE::Class MYSUPERMEGA___________________NAMESPACE::Class::operator/(const MYSUPERMEGA___________________NAMESPACE::Class &Class_)
  78. {
  79. return *this/Class_;
  80. }
  81.  
  82. void main()
  83. {
  84. ___ApocalypseHasOccuredException<int> SHIT_______________1111111;
  85. if(PANIC) throw SHIT_______________1111111;
  86. }
Add Comment
Please, Sign In to add comment