From 18b408df7017403aff427b62146cea6323dce3d3 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Fri, 8 Mar 2024 12:58:49 -0800 Subject: alrighty! it should be done! i think all 4 standard functions are there so its should have everything! --- Project1/program.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Project1/program.cpp') 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: -- cgit v1.2.3