aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-29 17:25:46 -0800
committerConnor McDowell <[email protected]>2024-02-29 17:25:46 -0800
commitc8a41214a06485ce310528b595782fb70dd88ee7 (patch)
treef12e006ee76cc0a30b4fe5874965ab909ac71311 /Project1/Contacts.h
parentcode built properly. comensing testing phase. (diff)
downloadhomework-7-connormcdowell275-c8a41214a06485ce310528b595782fb70dd88ee7.tar.xz
homework-7-connormcdowell275-c8a41214a06485ce310528b595782fb70dd88ee7.zip
setting all functions to run in contact_list class
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