aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab7/CST116F2021-Lab7.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CST116F2021-Lab7/CST116F2021-Lab7.cpp')
-rw-r--r--CST116F2021-Lab7/CST116F2021-Lab7.cpp47
1 files changed, 37 insertions, 10 deletions
diff --git a/CST116F2021-Lab7/CST116F2021-Lab7.cpp b/CST116F2021-Lab7/CST116F2021-Lab7.cpp
index c03ef4e..b7aa60f 100644
--- a/CST116F2021-Lab7/CST116F2021-Lab7.cpp
+++ b/CST116F2021-Lab7/CST116F2021-Lab7.cpp
@@ -21,23 +21,50 @@
//}
//12b
-int main()
-{
+//int main()
+//{
+ //initializations
+// string strData[100];
+
+ //title and start prompt
+// cout << setw(65) << "--String Reader--\n"
+// << endl;
+
+// cout << "You can enter up to one hundred strings. When finished entering, please type \"done,\" and your strings will display.\n";
+
+ //get string data
+// getStringData(strData);
+
+ //display
+// displayStrings(strData);
+
+ //find string
+// findString(strData);
+//}
+
+//12c
+//int main()
+//{
//initializations
- string strData[100];
+// string strData[100];
//title and start prompt
- cout << setw(65) << "--String Reader--\n"
- << endl;
+// cout << setw(65) << "--String Reader--\n"
+// << endl;
- cout << "You can enter up to one hundred strings. When finished entering, please type \"done,\" and your strings will display.\n";
+// cout << "You can enter up to one hundred strings. When finished entering, please type \"done,\" and your strings will display.\n";
//get string data
- getStringData(strData);
+// getStringData(strData);
//display
- displayStrings(strData);
+// displayStrings(strData);
//find string
- findString(strData);
-} \ No newline at end of file
+// findString(strData);
+
+ //remove string
+// removeString(strData);
+
+// return 0;
+//} \ No newline at end of file