aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-22 18:03:42 -0800
committerConnor McDowell <[email protected]>2024-02-22 18:03:42 -0800
commit10eab35f2834eb06df36b82ddcd0a06c5d3a104c (patch)
tree543322117c57ccb3f37b5125d02ae2b8fb448c71 /Project1/main.cpp
parentprint created (diff)
downloadin-class-exercise-13-connormcdowell275-10eab35f2834eb06df36b82ddcd0a06c5d3a104c.tar.xz
in-class-exercise-13-connormcdowell275-10eab35f2834eb06df36b82ddcd0a06c5d3a104c.zip
i love following the lecture exactly and getting undefined behavior.
Diffstat (limited to 'Project1/main.cpp')
-rw-r--r--Project1/main.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/Project1/main.cpp b/Project1/main.cpp
index 85da978..6d29960 100644
--- a/Project1/main.cpp
+++ b/Project1/main.cpp
@@ -15,10 +15,13 @@ int main()
{
contact newContact;
- //cout << newContact.GetAge();
-
- //newContact.SetAge(42);
- //newContact
+ newContact.Set_firstName("Connor");
+ newContact.Set_lastName("McDowell");
+ newContact.Set_streetAddress("6051 Lakeview Blvd");
+ newContact.Set_city("Lake Oswego");
+ newContact.Set_state("Oregon");
+ newContact.Set_zip(97035);
+ newContact.Set_email("[email protected]");
newContact.print();