From 10eab35f2834eb06df36b82ddcd0a06c5d3a104c Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Thu, 22 Feb 2024 18:03:42 -0800 Subject: i love following the lecture exactly and getting undefined behavior. --- Project1/main.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Project1/main.cpp') 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("connormcdowell275@gmail.com"); newContact.print(); -- cgit v1.2.3