aboutsummaryrefslogtreecommitdiff
path: root/Project1/Contacts.h
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-03-03 15:16:08 -0800
committerConnor McDowell <[email protected]>2024-03-03 15:16:08 -0800
commit36f63ce5a5ac9642ea0d63e44ba91c98a08e16e4 (patch)
tree8e3969324f127e54a659586918bf5c8106f5e595 /Project1/Contacts.h
parentall functions refactored to fit in contact list. testing now. (diff)
downloadarchived-homework-7-connormcdowell275-36f63ce5a5ac9642ea0d63e44ba91c98a08e16e4.tar.xz
archived-homework-7-connormcdowell275-36f63ce5a5ac9642ea0d63e44ba91c98a08e16e4.zip
first commit of the day, following lecture. again.
Diffstat (limited to 'Project1/Contacts.h')
-rw-r--r--Project1/Contacts.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h
index a314f0f..e29d5f0 100644
--- a/Project1/Contacts.h
+++ b/Project1/Contacts.h
@@ -62,36 +62,6 @@ private:
};
-class contact_list
-{
-private:
-
- contact* contacts_{ nullptr };
-
- size_t length_{ 0 };
-
- size_t size_{ 0 };
-
-public:
-
- void set_length(size_t MAX);
- size_t get_length();
-
- void set_size(size_t size);
- size_t get_size();
-
- void DeleteContact(contact& contact);
-
- void CopyList(const contact* contacts, const size_t& size);
-
- void AddContact(const contact& contact, size_t MAX, size_t& t);
-
- void update(const contact& contact, size_t MAX);
-
- void Print(contact newContact[], size_t& MAX) const;
-
- size_t Size() const;
-};
//struct contact_struct
//{