Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include "klasa.hpp"
  4.  
  5.  
  6. int main(int argc, char* argv[])
  7. {
  8. int const zakres=3;
  9. NazwaKlasy Osoby[zakres];
  10.  
  11.  
  12.  
  13. NazwaKlasy osoba1;
  14. NazwaKlasy osoba2;
  15. NazwaKlasy osoba3;
  16.  
  17. cout << "Klasa osoba1" << endl;
  18. osoba1.MetodaDane();
  19. cout << "Klasa osoba2" << endl;
  20. osoba2.MetodaDane();
  21. cout << "Klasa osoba3" << endl;
  22. osoba3.MetodaDane();
  23.  
  24. osoba1.MetodaPrzedstaw();
  25. osoba2.MetodaPrzedstaw();
  26. osoba3.MetodaPrzedstaw();
  27.  
  28. getchar();
  29. return 0;
  30. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement