diff options
Diffstat (limited to 'CST116F2021-Lab7/CST116F2021-Lab7.cpp')
| -rw-r--r-- | CST116F2021-Lab7/CST116F2021-Lab7.cpp | 24 |
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 |