aboutsummaryrefslogtreecommitdiff
path: root/InClassExercise13/InClassExercise13/Contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'InClassExercise13/InClassExercise13/Contact.h')
-rw-r--r--InClassExercise13/InClassExercise13/Contact.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/InClassExercise13/InClassExercise13/Contact.h b/InClassExercise13/InClassExercise13/Contact.h
index f5321ba..4c194eb 100644
--- a/InClassExercise13/InClassExercise13/Contact.h
+++ b/InClassExercise13/InClassExercise13/Contact.h
@@ -9,8 +9,6 @@ class Contact
public:
Contact();
-
-
~Contact();
const char* GetLastName();
@@ -37,13 +35,13 @@ public:
void Print();
private:
- char* _firstname{ };
- char* _lastname{ };
- char* _streetaddress{ };
- char* _city{ };
- char* _state{};
- int _zip;
- char* _email{ };
+ const char* _firstname{ };
+ const char* _lastname{ };
+ const char* _streetaddress{ };
+ const char* _city{ };
+ const char* _state{};
+ int _zip = 0;
+ const char* _email{ };
};