SHARE
TWEET

Untitled

a guest Sep 16th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void Person_model::SetFirstName(string fName){
  2.         Person_model::first_name = fName;
  3. }
  4. string Person_model::GetFirstName(){
  5. return Person_model::first_name;
  6. }
  7.  
  8. void Person_model::SetLastName(string lName){
  9.         Person_model::last_name = lName;
  10. }
  11. string Person_model::GetLastName(){
  12. return Person_model::last_name;
  13. }
  14.  
  15. void Person_model::SetYearOfBirth(string yob){
  16.         Person_model::year_of_birth = yob;
  17. }
  18. string Person_model::GetYearOfBirth(){
  19. return Person_model::year_of_birth;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top