diff options
| author | Connor McDowell <[email protected]> | 2024-03-03 15:16:08 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-03-03 15:16:08 -0800 |
| commit | 36f63ce5a5ac9642ea0d63e44ba91c98a08e16e4 (patch) | |
| tree | 8e3969324f127e54a659586918bf5c8106f5e595 /Project1/Contacts.h | |
| parent | all functions refactored to fit in contact list. testing now. (diff) | |
| download | archived-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.h | 30 |
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 //{ |