aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab7/Lab7RUN.txt
blob: b6d92e429144b83daaa5561bc6e3a0277e355fcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...1
Type in your string to add:  This will be added to the string array
MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...1
Type in your string to add:  This will be deleted later
MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...1
Type in your string to add:  THIS
MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...1
Type in your string to add:  IS
MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...1
Type in your string to add:  FUN!
MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...2


Here are your string entries...
1.      This will be added to the string array
2.      This will be deleted later
3.      THIS
4.      IS
5.      FUN!


MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...3
Enter the subString you want to search for:  will
        Substring 'will' was found in string: 1
        Substring 'will' was found in string: 2
        ...not found in string: 3
        ...not found in string: 4
        ...not found in string: 5


MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...4
Which string (1 to 5) would you like to delete?   2


MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...2


Here are your string entries...
1.      This will be added to the string array
2.      THIS
3.      IS
4.      FUN!


MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...1
Type in your string to add:  A string added later
MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...2


Here are your string entries...
1.      This will be added to the string array
2.      THIS
3.      IS
4.      FUN!
5.      A string added later


MENU:   1) Add a string  2) Print out  3) Find subString  4) Delete a string  5) Exit   ...5
Thankyou, Goodbye!!


C:\Users\Lenovo\source\repos\Lab7_Schroeder\Debug\Lab7_Schroeder.exe (process 20312) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .