aboutsummaryrefslogtreecommitdiff
path: root/Project1/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/contact.h')
-rw-r--r--Project1/contact.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/Project1/contact.h b/Project1/contact.h
index 47e8fd3..02d6b85 100644
--- a/Project1/contact.h
+++ b/Project1/contact.h
@@ -10,22 +10,22 @@ public:
void Set_firstName(char firstName);
char* Get_lastName();
- void Set_lastName();
+ void Set_lastName(char lastName);
- char* Get_streetAdress();
- void Set_streetAdress();
+ char* Get_streetAddress();
+ void Set_streetAddress(char streetAddress);
char* Get_city();
- void Set_city();
+ void Set_city(char city);
char* Get_state();
- void Set_state();
+ void Set_state(char state);
- int* Get_zip();
- int Set_zip();
+ int Get_zip();
+ int Set_zip(int zip);
char* Get_email();
- void Set_email();
+ void Set_email(char email);
void print();
@@ -35,7 +35,7 @@ private:
char* _streetAddress{};
char* _city{};
char* _state{};
- int zip;
+ int _zip;
char* _email{};
};