aboutsummaryrefslogtreecommitdiff
path: root/Project1/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/contact.h')
-rw-r--r--Project1/contact.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Project1/contact.h b/Project1/contact.h
index ced5d5f..58de6f6 100644
--- a/Project1/contact.h
+++ b/Project1/contact.h
@@ -1,10 +1,21 @@
#ifndef CONTACT_HELPER
#define CONTACT_HELPER
+
+// NOTE FOR ASSIGNMENT:
+// USE COMPLEX CONTACT()
+// contact(const char* name/address/etc etc)
+// with:
+// contact::contact(same as above){
+// _name = name
+// and so on for each item.
+// then when creating the list each input is automatically inserted into right spots.
class contact
{
public:
contact() = default;
+ contact(const contact& copy);
+ contact& operator=(const contact& rhs);
const char* Get_firstName();
void Set_firstName(const char* firstName);