aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/main.cpp')
-rw-r--r--Project1/main.cpp29
1 files changed, 29 insertions, 0 deletions
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 <iostream>
+#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("[email protected]");
+
+ newContact.print();
+
+ return 0;
+} \ No newline at end of file