aboutsummaryrefslogtreecommitdiff
path: root/Project1/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/contact.h')
-rw-r--r--Project1/contact.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/Project1/contact.h b/Project1/contact.h
index 02d6b85..7ffec87 100644
--- a/Project1/contact.h
+++ b/Project1/contact.h
@@ -7,36 +7,36 @@ public:
contact() = default;
char* Get_firstName();
- void Set_firstName(char firstName);
+ void Set_firstName(const char* firstName);
char* Get_lastName();
- void Set_lastName(char lastName);
+ void Set_lastName(const char* lastName);
char* Get_streetAddress();
- void Set_streetAddress(char streetAddress);
+ void Set_streetAddress(const char* streetAddress);
char* Get_city();
- void Set_city(char city);
+ void Set_city(const char* city);
char* Get_state();
- void Set_state(char state);
+ void Set_state(const char* state);
int Get_zip();
- int Set_zip(int zip);
+ void Set_zip(int zip);
char* Get_email();
- void Set_email(char email);
+ void Set_email(const char* email);
void print();
private:
- char* _firstName{};
- char* _lastName{};
- char* _streetAddress{};
- char* _city{};
- char* _state{};
+ char* _firstName{ };
+ char* _lastName{ };
+ char* _streetAddress{ };
+ char* _city{ };
+ char* _state{ };
int _zip;
- char* _email{};
+ char* _email{ };
};