aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraquelc <[email protected]>2024-03-04 18:13:52 -0800
committerraquelc <[email protected]>2024-03-04 18:13:52 -0800
commit23ecbdfba2fe0cf6b8b876e587d3f437c01e8abf (patch)
tree661da59b1de432bc094a243cc6ffbd03609910b2
parentsetup of hw6 (diff)
downloadhomework-6-raquel191-23ecbdfba2fe0cf6b8b876e587d3f437c01e8abf.tar.xz
homework-6-raquel191-23ecbdfba2fe0cf6b8b876e587d3f437c01e8abf.zip
commit files
-rw-r--r--hw6/hw6/contacts.cpp4
-rw-r--r--hw6/hw6/program.cpp1
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";