Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef KOCKA_H
- #define KOCKA_H
- //kvuli string, vyhnuti se std::
- #include <iostream>
- using namespace std;
- //trida
- class Kocka
- {
- public:
- //konstruktor
- Kocka(string jmeno,unsigned int vek,string barva_srsti);
- //destruktor
- ~Kocka();
- void pozdrav();
- void vitez();
- string jmeno;
- unsigned int nabehano;
- //chranena
- protected:
- //soukroma
- private:
- unsigned int vek;
- string barva_srsti;
- int behej();
- };
- #endif // KOCKA_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement