Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef LOJA_H
- #define LOJA_H
- #include <iostream>
- #include <string>
- using namespace std;
- class loja {
- private:
- string nome;
- public:
- loja(string n = "Sem Nome") : nome(n) { cout << "Construindo..." << endl; }
- ~loja() { cout << "Destruindo..." << endl; };
- void hello(std::string const &name);
- friend ostream &operator<<(ostream &out, const loja &l);
- friend istream &operator>>(istream &in, loja &l);
- };
- #endif // LOJA_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement