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/contact.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Project1/contact.cpp (limited to 'Project1/contact.cpp') diff --git a/Project1/contact.cpp b/Project1/contact.cpp new file mode 100644 index 0000000..9625029 --- /dev/null +++ b/Project1/contact.cpp @@ -0,0 +1,25 @@ +#include +#include "contact.h" + +using std::cin; +using std::cout; +using std::endl; + + + +char contact::Set_firstName() +{ + +} + +char contact::Get_firstName() +{ + +} + +void contact::print() +{ + /*cout << "name: " << _name << endl; + cout << "age: " << _age << endl;*/ + +} -- cgit v1.2.3