#ifndef CONTACT_HELPER #define CONTACT_HELPER // NOTE FOR ASSIGNMENT: // USE COMPLEX CONTACT() // contact(const char* name/address/etc etc) // with: // contact::contact(same as above){ // _name = name // and so on for each item. // then when creating the list each input is automatically inserted into right spots. class contact { public: contact() = default; contact(const contact& copy); contact& operator=(const contact& rhs); contact(contact&& move); contact& operator=(contact&& rhs); const char* Get_firstName(); void Set_firstName(const char* firstName); const char* Get_lastName(); void Set_lastName(const char* lastName); const char* Get_streetAddress(); void Set_streetAddress(const char* streetAddress); const char* Get_city(); void Set_city(const char* city); const char* Get_state(); void Set_state(const char* state); int Get_zip(); void Set_zip(int zip); const char* Get_email(); void Set_email(const char* email); void print(); private: const char* _firstName{ }; const char* _lastName{ }; const char* _streetAddress{ }; const char* _city{ }; const char* _state{ }; int _zip; const char* _email{ }; }; #endif CONTACT_HELPER