2wqew

Untitled

Apr 23rd, 2018
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include "osoba.h"
  2.  
  3. Osoba::Osoba(const std::string & im, const std::string & na, const std::string & pe)
  4. {
  5.  
  6. imie= im;
  7. nazwisko= na;
  8. pesel= pe;
  9.  
  10. }
  11.  
  12. std::string Osoba::get_imie() const
  13. {
  14. return imie;
  15. }
  16. std::string Osoba::get_nazwisko() const
  17. {
  18. return nazwisko;
  19. }
  20.  
  21. std::string Osoba::get_pesel() const
  22. {
  23. return pesel;
  24. }
Add Comment
Please, Sign In to add comment