Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef NAPIS_H
- #define NAPIS_H
- #include <iostream>
- #include <string>
- using namespace std;
- class Napis
- {
- public:
- Napis(const char* nap = "");
- Napis(const Napis & wzor);
- Napis & operator=(const Napis & wzor);
- bool operator==(const Napis & wzor) const;
- ~Napis();
- const char* Zwroc() const;
- void Ustaw(const char* nowy_napis);
- void Wypisz() const;
- void Wpisz();
- int SprawdzNapis(const char* por_napis) const;
- friend ostream &operator <<(ostream & wy, const Napis & p);
- friend istream &operator >>(istream & we, Napis & p);
- private:
- char * m_pszNapis;
- int m_nD1;
- };
- #endif // NAPIS_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement