diff options
| author | Connor McDowell <[email protected]> | 2024-03-08 12:58:49 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-03-08 12:58:49 -0800 |
| commit | 18b408df7017403aff427b62146cea6323dce3d3 (patch) | |
| tree | ebad0359d711dbd0e254c146b849a54f1c882182 /Project1/program.cpp | |
| parent | refactored with strings instead of char arrays (diff) | |
| download | homework-7-connormcdowell275-18b408df7017403aff427b62146cea6323dce3d3.tar.xz homework-7-connormcdowell275-18b408df7017403aff427b62146cea6323dce3d3.zip | |
alrighty! it should be done! i think all 4 standard functions are there so its should have everything!
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: |