SHARE
TWEET

loja.h

Dagdelo Mar 31st, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef LOJA_H
  2. #define LOJA_H
  3.  
  4. #include <iostream>
  5. #include <string>
  6.  
  7. using namespace std;
  8.  
  9. class loja {
  10.   private:
  11.     string nome;
  12.  
  13.   public:
  14.     loja(string n = "Sem Nome") : nome(n) { cout << "Construindo..." << endl; }
  15.     ~loja() { cout << "Destruindo..." << endl; };
  16.     void hello(std::string const &name);
  17.     friend ostream &operator<<(ostream &out, const loja &l);
  18.     friend istream &operator>>(istream &in, loja &l);
  19. };
  20. #endif // LOJA_H
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