aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab7/Header.h
blob: f33faeac8b7c81fb9d5d5f6e6f8e9437d146ba82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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