blob: 61848f94d364eb0323315c02d80ac8c497631d81 (
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
Output:
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 1
Input a string: test1
test1 added to list.
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 1
Input a string: test2
test2 added to list.
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 1
Input a string: test3
test3 added to list.
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 1
Input a string: Hello World!
Hello World! added to list.
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 2
Outputing string list:
test1
test2
test3
Hello World!
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 3
Input the substring to search for: lo
lo was found in string 4: Hello World! at position 3
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 3
Input the substring to search for: hi
hi could not be found in the list.
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 4
Input the item to remove: 7
Please input a value between 1 and 5.
Input the item to remove: 2
Rmeoving item: 2
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 2
Outputing string list:
test1
test3
Hello World!
--String program--
1. Add a string
2. Print out string list
3. Find a substring
4. Remove an element
5. Exit Program
Input your choice: 5
Exiting Program...
C:\Users\jakno\source\repos\CST116cst116-lab7-JacobAKnox\12c\Debug\12c.exe (process 9520) exited with code 0.
Press any key to close this window . . .
|