Advertisement
MeehoweCK

Untitled

Nov 27th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. class Bazowa
  2. {
  3. protected:
  4.     int x;
  5.     int y;
  6. public:
  7.     Bazowa(int mx, int my) : x(mx), y(my) {}
  8. };
  9.  
  10. class Pochodna : public Bazowa
  11. {
  12.     Pochodna() : Bazowa(5, 7) {}
  13. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement