Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef H_THISPERSONTYPE
- #define H_THISPERSONTYPE
- #include <string>
- using namespace std;
- class personType
- {
- public:
- void print() const;
- void setName(string first, string last);
- personType& setFirstName(string first);
- personType& setLastName(string last);
- string getFirstName() const;
- string getLastName() const;
- personType(string first = "", string last = "");
- private:
- string firstName;
- string lastName;
- };
- #endif
Add Comment
Please, Sign In to add comment