Voldemord

zad5/6 headers.hpp

Dec 1st, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. #ifndef nazwaPliku_hpp
  2. #define nazwaPliku_hpp
  3.  
  4. class MyMother
  5. {
  6. private:
  7.  
  8.     int m;
  9.     int n;
  10.     void allocMother();
  11. public:
  12.     double ** mother;
  13.     MyMother();
  14.     MyMother(int m, int n);
  15.     MyMother(int m, int n, double **tab);
  16.     MyMother(MyMother &myMother);
  17.     ~MyMother();
  18.     void resizeMother(int m, int n);
  19.     int getCol();
  20.     int getRow();
  21.     void genRandMother();
  22.     void showMyMother();
  23.     MyMother & operator =( const MyMother & arg );
  24.     MyMother & operator +( const MyMother & arg );
  25.     //MyMother & operator +( const MyMother & a, const MyMother & b);
  26.     bool operator ==( const MyMother & arg);
  27.  
  28. };
  29.  
  30. #endif
Add Comment
Please, Sign In to add comment