Advertisement
Guest User

Kocka.h

a guest
Oct 19th, 2014
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. #ifndef KOCKA_H
  2. #define KOCKA_H
  3.  
  4. //kvuli string, vyhnuti se std::
  5. #include <iostream>
  6. using namespace std;
  7.  
  8. //trida
  9. class Kocka
  10. {
  11.     public:
  12.         //konstruktor
  13.         Kocka(string jmeno,unsigned int vek,string barva_srsti);
  14.         //destruktor
  15.         ~Kocka();
  16.         void pozdrav();
  17.         void vitez();
  18.         string jmeno;
  19.         unsigned int nabehano;
  20.  
  21.     //chranena
  22.     protected:
  23.  
  24.     //soukroma
  25.     private:
  26.         unsigned int vek;
  27.         string barva_srsti;
  28.         int behej();
  29. };
  30. #endif // KOCKA_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement