aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab7/CST116F2021-Lab7.cpp
diff options
context:
space:
mode:
authorJames Lawrance <[email protected]>2021-11-13 09:25:11 -0800
committerJames Lawrance <[email protected]>2021-11-13 09:25:11 -0800
commit1b7c398e0df1424a379d1e8dd80c9ef5906cf2d3 (patch)
treef3f43372d32d528d9332152be262128944816676 /CST116F2021-Lab7/CST116F2021-Lab7.cpp
parentlab 7 completed 11/13/2021 (diff)
downloadcst116-lab7-jemersonlawrance-master.tar.xz
cst116-lab7-jemersonlawrance-master.zip
*forgot 12c outputHEADmaster
lab 7 completed 11/13/21
Diffstat (limited to 'CST116F2021-Lab7/CST116F2021-Lab7.cpp')
-rw-r--r--CST116F2021-Lab7/CST116F2021-Lab7.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/CST116F2021-Lab7/CST116F2021-Lab7.cpp b/CST116F2021-Lab7/CST116F2021-Lab7.cpp
index b7aa60f..e0731a2 100644
--- a/CST116F2021-Lab7/CST116F2021-Lab7.cpp
+++ b/CST116F2021-Lab7/CST116F2021-Lab7.cpp
@@ -43,28 +43,28 @@
//}
//12c
-//int main()
-//{
+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);
+ findString(strData);
//remove string
-// removeString(strData);
+ removeString(strData);
-// return 0;
-//} \ No newline at end of file
+ return 0;
+} \ No newline at end of file