aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index d485659..db2de53 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -40,9 +40,17 @@ public:
const char* Get_email();
void Set_email(const char* email);
+ size_t Get_a();
+ void Set_a(size_t a);
+
+ size_t Get_id();
+ void Set_id(size_t id);
+
void print();
private:
+ size_t _a = 0;
+ // _a functions as delete bool. if a = 1, the slot is overwritten
int _id;
const char* _firstName{ };
const char* _lastName{ };