diff options
Diffstat (limited to 'CST116F2021-Lab7/Header.h')
| -rw-r--r-- | CST116F2021-Lab7/Header.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/CST116F2021-Lab7/Header.h b/CST116F2021-Lab7/Header.h new file mode 100644 index 0000000..f33faea --- /dev/null +++ b/CST116F2021-Lab7/Header.h @@ -0,0 +1,21 @@ +#include <iostream> +#include <string> +#include <cstring> +#include <iomanip> + +using namespace std; + +#define MAX_STRINGS 150 + + +void displayMenu(int&); //displays menu, takes in user menu choice + +void processMenuChoice(int, string[], int&); //processes menu choice, calls relevant function + +void addStrings(string[], int&); //gives user ability to add strings to the array + +void printArray(string[], int&); //prints all strings in the array + +void findString(string[], int&); //gives user ability to search for strings or substrings within the array, displays if they are found + +void removeString(string[], int&); //gives user ability to remove a string from the array based on string location, displays removed string
\ No newline at end of file |