diff options
| author | Connor McDowell <[email protected]> | 2024-03-03 16:12:05 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-03-03 16:12:05 -0800 |
| commit | 979fcacec2a512ed7a66208cc47d894b7c0cebe7 (patch) | |
| tree | b7677c371c10065b779f22e1e0c0aa391ac64d6e /Project1/program.cpp | |
| parent | delete refactored (diff) | |
| download | homework-7-connormcdowell275-979fcacec2a512ed7a66208cc47d894b7c0cebe7.tar.xz homework-7-connormcdowell275-979fcacec2a512ed7a66208cc47d894b7c0cebe7.zip | |
first successful build
Diffstat (limited to 'Project1/program.cpp')
| -rw-r--r-- | Project1/program.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Project1/program.cpp b/Project1/program.cpp index d6761d5..4029c61 100644 --- a/Project1/program.cpp +++ b/Project1/program.cpp @@ -49,17 +49,17 @@ int main() // newContact = newContactTemp; // Update pointer // MAX *= 2; // Update MAX //} - break; case 2: - contacts.Update(newContact, MAX); + //contacts.Update(newContact); + cout << "this program is currently a work in progress" << endl; break; case 3: - contacts.Print(&newContact, MAX); // Print only the existing contacts + contacts.Print(); // Print only the existing contacts break; case 4: - contacts.DeleteContact(&newContact, MAX); - contacts.CopyList(&newContact, MAX); + contacts.DeleteContact(newContact); + //contacts.CopyList(&newContact, MAX); break; case 5: O = 0; |