aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index 3020e27..a86f698 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -80,17 +80,17 @@ public:
void set_size(size_t size);
size_t get_size();
- void DeleteContact(contact& contact);
+ void DeleteContact(contact newContact[], size_t MAX);
void CopyList(const contact* contacts, const size_t& size);
- void AddContact(const contact& contact);
+ void AddContact(contact* newContact, size_t MAX, size_t& t);
- void update(const contact& contact);
+ void update(contact newContact[], size_t MAX);
- void Print() const;
+ void Print(contact newContact[], size_t& MAX);
- size_t Size() const;
+ //size_t Size() const;
};
//struct contact_struct
@@ -121,18 +121,18 @@ public:
//};
//contact newContact[11];
-int menu();
-
-char addNew(contact newContact[], size_t MAX, size_t& t);
-
-void update(contact newContact[], size_t MAX);
-
-void printAll(contact newContact[], size_t& MAX);
-
-contact contact_double(contact*& newContact, size_t& MAX, size_t t);
-
-size_t max_double(size_t MAX);
-
-void delete_contact(contact newContact[], size_t MAX);
+//int menu();
+//
+//char addNew(contact newContact[], size_t MAX, size_t& t);
+//
+//void update(contact newContact[], size_t MAX);
+//
+//void printAll(contact newContact[], size_t& MAX);
+//
+//contact contact_double(contact*& newContact, size_t& MAX, size_t t);
+//
+//size_t max_double(size_t MAX);
+//
+//void delete_contact(contact newContact[], size_t MAX);
#endif CONTACTS_HEADER_H \ No newline at end of file