diff options
| -rw-r--r-- | hw6/hw6/contacts.cpp | 4 | ||||
| -rw-r--r-- | hw6/hw6/program.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
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"; |