Guest User

Untitled

a guest
Jan 19th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. #include <iostream>
  2. #include <new>
  3.  
  4. typedef unsigned int size_t;
  5.  
  6. namespace test {
  7.     void a();
  8.     void b();
  9.     }
  10.  
  11. void test::a() {
  12.     std::cout << "sajt" << std::endl;
  13.     return;
  14.     }
  15.  
  16. void test::b() {
  17.     std::cout << "túró" << std::endl;
  18.     return;
  19.     }
  20.  
  21. void* operator new (size_t SizeInByte) throw () {
  22.     return 0;
  23.     }
  24.  
  25. int main() {
  26.    
  27.     test::b();
  28.     test::a();
  29.    
  30.     return 0;
  31.     }
Add Comment
Please, Sign In to add comment