aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/main.cpp')
-rw-r--r--Project1/main.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/Project1/main.cpp b/Project1/main.cpp
index cb0a77b..6e853a5 100644
--- a/Project1/main.cpp
+++ b/Project1/main.cpp
@@ -23,9 +23,23 @@ int main()
newContact.Set_zip(97035);
newContact.Set_email("[email protected]");
- newContact = newContact;
+ contact anotherContact;
+
+ anotherContact.Set_firstName("Soup");
+ anotherContact.Set_lastName("Mchonkey");
+ anotherContact.Set_streetAddress("your mom road");
+ anotherContact.Set_city("Nunya");
+ anotherContact.Set_state("south carolina");
+ anotherContact.Set_zip(696969);
+ anotherContact.Set_email("[email protected]");
newContact.print();
+ anotherContact = newContact;
+
+ contact copyContact(anotherContact);
+
+ copyContact.print();
+
return 0;
} \ No newline at end of file