// name: Connor McDowell // date: 2/10/2024 // class: CST116 // reason: homework number 5 #include "Contacts.h" #include using std::cin; using std::cout; using std::endl; // // //int main() //{ // // // // // // return 0; //} int main() { constexpr size_t MAX = 10; int O = 1; contact newContact; while (O == 1) { int c = 0; cout << "1. Enter a name\n"; cout << "2. Delete a name\n"; cout << "3. List the file\n"; cout << "4. Quit\n"; cout << "\nEnter your choice: "; cin >> c; //c = menu(); if (c == 1) { addNew(&newContact, MAX); } if (c == 2) { update(&newContact, MAX); } if (c == 3) { printAll(newContact, MAX); } if (c == 4) { O = 0; } } }