diff options
| author | Connor McDowell <[email protected]> | 2024-02-29 16:21:50 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-29 16:21:50 -0800 |
| commit | bbe24b8f8517d6a08015520ba36ec3abed1b3188 (patch) | |
| tree | 03c798f134354cb14bbfd4a426c009ef44b450e9 /Project1/Contacts.h | |
| parent | refactoring add new. (diff) | |
| download | homework-7-connormcdowell275-bbe24b8f8517d6a08015520ba36ec3abed1b3188.tar.xz homework-7-connormcdowell275-bbe24b8f8517d6a08015520ba36ec3abed1b3188.zip | |
code built properly. comensing testing phase.
test one failure. theory: didnt use functions specifically called within contact_list class. will begin refactoring to run through that.
Diffstat (limited to 'Project1/Contacts.h')
| -rw-r--r-- | Project1/Contacts.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Project1/Contacts.h b/Project1/Contacts.h index db2de53..3020e27 100644 --- a/Project1/Contacts.h +++ b/Project1/Contacts.h @@ -10,11 +10,11 @@ class contact public: contact() = default; - contact(const contact& copy); + /*contact(const contact& copy); contact& operator=(const contact& rhs); contact(contact&& move); - contact& operator=(contact&& rhs); + contact& operator=(contact&& rhs);*/ int Get_index(); void Set_index(int id); @@ -86,6 +86,8 @@ public: void AddContact(const contact& contact); + void update(const contact& contact); + void Print() const; size_t Size() const; |