From 268ac275acd95b2ff26f6c6bb6b8beea86751a76 Mon Sep 17 00:00:00 2001 From: paxmbrt4l Date: Sat, 22 Jun 2024 15:37:26 +0800 Subject: [PATCH] Add Contact.h --- Contact.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Contact.h diff --git a/Contact.h b/Contact.h new file mode 100644 index 0000000..f5c75cb --- /dev/null +++ b/Contact.h @@ -0,0 +1,15 @@ +#ifndef CONTACT_H +#define CONTACT_H + +#include + +class Contact { +public: + std::string name; + std::string phone; + std::string email; + + Contact(const std::string& n, const std::string& p, const std::string& e) : name(n), phone(p), email(e) {} +}; + +#endif // CONTACT_H