daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest May 23rd, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. class FooBar
  4. {
  5.         public:
  6.                 FooBar();
  7.                 ~FooBar();
  8. };
  9.  
  10. FooBar::FooBar()
  11. {
  12.         std::cout << "constructor" << std::endl;
  13. }
  14.  
  15. FooBar::~FooBar()
  16. {
  17.         std::cout << "destructor" << std::endl;
  18.  
  19. }
  20.  
  21.  
  22. int main()
  23. {
  24.         FooBar test;
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top