From 71d9b99b7a44c5ac55c488f10880bc642b6c95a8 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Thu, 22 Feb 2024 18:10:36 -0800 Subject: excersize 13 files added --- Project1/main.cpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Project1/main.cpp (limited to 'Project1/main.cpp') diff --git a/Project1/main.cpp b/Project1/main.cpp new file mode 100644 index 0000000..6d29960 --- /dev/null +++ b/Project1/main.cpp @@ -0,0 +1,29 @@ +// Name: Connor McDowell +// date: 2/19/24 +// class: CST116 +// reason: learning classes, in class exercise 13 + +#include +#include "contact.h" + +using std::cin; +using std::cout; +using std::endl; + + +int main() +{ + contact 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(); + + return 0; +} \ No newline at end of file -- cgit v1.2.3