diff options
| author | Joseph Ten Eyck <[email protected]> | 2021-11-16 20:48:42 -0800 |
|---|---|---|
| committer | Joseph Ten Eyck <[email protected]> | 2021-11-16 20:48:42 -0800 |
| commit | 24f1c58635a8bb9963e2750729d8b1f5e400fa05 (patch) | |
| tree | 57e49850b2ba33e851b1f8a84b957d7d3d0614b3 /CST116F2021-Lab7/Header.h | |
| parent | Add online IDE url (diff) | |
| download | cst116-lab7-josephteneyck-master.tar.xz cst116-lab7-josephteneyck-master.zip | |
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 |