From 0acf440edaa239078c308b16d14f0a6f7b79687d Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Thu, 22 Feb 2024 17:15:30 -0800 Subject: add getters and setters --- Project1/main.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..85da978 --- /dev/null +++ b/Project1/main.cpp @@ -0,0 +1,26 @@ +// 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; + + //cout << newContact.GetAge(); + + //newContact.SetAge(42); + //newContact + + newContact.print(); + + return 0; +} \ No newline at end of file -- cgit v1.2.3