Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #ifndef UNTITLED_GRYF_H
- #define UNTITLED_GRYF_H
- #define _DEBUG 0
- using namespace std;
- class Gryf {
- public:
- Gryf();
- ~Gryf();
- Gryf(const Gryf &y);
- Gryf operator=(const Gryf &x);
- const string &getKolor_gryfu() const;
- void setKolor_gryfu(const string &kolor_gryfu);
- const string &getRodzaj_drewna() const;
- void setRodzaj_drewna(const string &rodzaj_drewna);
- unsigned int getIlosc_progow() const;
- void setIlosc_progow(unsigned int ilosc_progow);
- unsigned int getDlugosc_gryfu() const;
- void setDlugosc_gryfu(unsigned int dlugosc_gryfu);
- private:
- unsigned ilosc_progow;
- unsigned dlugosc_gryfu;
- std::string kolor_gryfu;
- std::string rodzaj_drewna;
- void ustawRodzaj();
- };
- #endif //UNTITLED_GRYF_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement