Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. class Name
  2. {
  3.     string secondName;
  4.     string firstName;
  5.     string fatherName;
  6. public:
  7.     string getSecondName()const{return secondName;}
  8.     void setSecondName(string second){secondName = second;};
  9.     string getFirstName()const{return firstName;}
  10.     void setFirstName(string first){firstName = first;};
  11.     string getFatherName()const{return fatherName;}
  12.     void setFatherName(string father){fatherName = father;};
  13.     Name();
  14.     Name(string second, string first, string father);
  15.     ~Name();
  16.  
  17. private:
  18.  
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement