diff options
Diffstat (limited to 'Project1/Contacts.h')
| -rw-r--r-- | Project1/Contacts.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h index 5d53b89..fa2cad9 100644 --- a/Project1/Contacts.h +++ b/Project1/Contacts.h @@ -17,25 +17,25 @@ public: contact& operator=(contact&& rhs);*/ const char* Get_firstName(); - void Set_firstName(const char* firstName); + void Set_firstName(char* firstName); const char* Get_lastName(); - void Set_lastName(const char* lastName); + void Set_lastName(char* lastName); const char* Get_streetAddress(); - void Set_streetAddress(const char* streetAddress); + void Set_streetAddress(char* streetAddress); const char* Get_city(); - void Set_city(const char* city); + void Set_city(char* city); const char* Get_state(); - void Set_state(const char* state); + void Set_state(char* state); int Get_zip(); void Set_zip(int zip); const char* Get_email(); - void Set_email(const char* email); + void Set_email(char* email); size_t Get_a(); void Set_a(size_t a); @@ -49,13 +49,13 @@ private: size_t _a = 0; // _a functions as delete bool. if a = 1, the slot is overwritten int _id; - const char* _firstName{ }; - const char* _lastName{ }; - const char* _streetAddress{ }; - const char* _city{ }; - const char* _state{ }; + char* _firstName{ }; + char* _lastName{ }; + char* _streetAddress{ }; + char* _city{ }; + char* _state{ }; int _zip; - const char* _email{ }; + char* _email{ }; }; |