fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class Buttons
  5. {
  6. public:
  7. Buttons()
  8. {
  9. short pushl;
  10. short *tail;
  11. cout << "Wally Weasel" << "/t";
  12. };
  13.  
  14. ~Buttons()
  15. {
  16. cout << "Buttons has been destroyed!";
  17. }
  18.  
  19. static void init_sub(int z, int a);
  20. };
  21.  
  22.  
  23. int main(int args, const char* const LOC[])
  24. {
  25. int z = 0;
  26. int a = 1;
  27. Buttons::init_sub(z, a);
  28. return 2;
  29. }
  30.  
  31. void Buttons::init_sub(int x, int y)
  32. {
  33. cout << &x << " " << &y;
  34. }
  35.  
  36.  
Runtime error #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0xbf9e8f20 0xbf9e8f24