diff options
Diffstat (limited to 'Project1/program.cpp')
| -rw-r--r-- | Project1/program.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project1/program.cpp b/Project1/program.cpp index 4d4d6f6..e9290d9 100644 --- a/Project1/program.cpp +++ b/Project1/program.cpp @@ -44,7 +44,7 @@ int main() { case 1: //addNew(newContact, MAX, t); - contacts.AddContact(newContact, t, save_contacts, contacts); + contacts.AddContact(newContact, t, save_contacts); //addContact(newContact, contacts.get_size(), contacts[MAX]); //for (auto i = 0u; i < MAX; ++i) //{ @@ -104,6 +104,7 @@ int main() //contacts.CopyList(&newContact, MAX); break; case 5: + contacts.~contact_list(); O = 0; break; default: |