From 23ecbdfba2fe0cf6b8b876e587d3f437c01e8abf Mon Sep 17 00:00:00 2001 From: raquelc Date: Mon, 4 Mar 2024 18:13:52 -0800 Subject: commit files --- hw6/hw6/contacts.cpp | 4 +++- hw6/hw6/program.cpp | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hw6/hw6/contacts.cpp b/hw6/hw6/contacts.cpp index c7b4d58..6b5be1c 100644 --- a/hw6/hw6/contacts.cpp +++ b/hw6/hw6/contacts.cpp @@ -50,7 +50,7 @@ void Printcontacts(contact(&contacts)[10]) { void update(contact(&contacts)[10]) { //cout << "Print contact to update" << endl; - + /* Printcontacts(contacts); int num = 0; cout << "Enter contact number to update" << endl; @@ -58,7 +58,9 @@ void update(contact(&contacts)[10]) { contacts[num] = InputNewcontact(); + */ + } diff --git a/hw6/hw6/program.cpp b/hw6/hw6/program.cpp index 9f6ea04..cc043c9 100644 --- a/hw6/hw6/program.cpp +++ b/hw6/hw6/program.cpp @@ -21,6 +21,7 @@ char c = 'n'; int main() { + do { //system("cls"); cout << "A. Input New Contact\n"; -- cgit v1.2.3