-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypescript
More file actions
187 lines (161 loc) · 10.9 KB
/
Copy pathtypescript
File metadata and controls
187 lines (161 loc) · 10.9 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
Script started on 2022-03-12 00:17:43-08:00 [TERM="xterm-256color" TTY="/dev/pts/1" COLUMNS="159" LINES="15"]
]0;amoghk12@csslab3h: ~/CSS343/Assignment4[01;32mamoghk12@csslab3h[00m:[01;34m~/CSS343/Assignment4[00m$ valgrind ./a.out[7Pg++ *.cpp[2P./a.outg++ *.cpp
]0;amoghk12@csslab3h: ~/CSS343/Assignment4[01;32mamoghk12@csslab3h[00m:[01;34m~/CSS343/Assignment4[00m$ g++ *.cppvalgrind ./a.out
==80611== Memcheck, a memory error detector
==80611== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==80611== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==80611== Command: ./a.out
==80611==
ERROR: Book code: "X" is an invalid code
ERROR: Book code: "Z" is an invalid code
CHILDREN BOOKS
AVAIL TITLE AUTHOR YEAR
5 As the Waltz was Ending Butterworth Emma Macalik 1982
5 Danny Dunn & the Homework Ma Williams Jay 1959
5 Horton hears a Who Seuss Dr. 1954
5 I Hate My Brother Harry Dragonwagon Crescent 1983
5 If you give a mouse a cookie Numeroff Laura 1985
5 Martha the Movie Mouse Lobel Arnold 1966
5 Old Lars Magnus Erica 1984
5 Penelope Gets Wheels Peterson Esther Allen 1982
5 Robots and Intelligent Machi Litterick Ian 1984
5 Smokey Peet Bill 1962
5 The Secret Life of Mr. Weird Allen Jeffrey 1982
5 Treehorn's Wish Heide Florence Parry 1984
5 Yertle the Turtle Seuss Dr. 1950
FICTION BOOKS
AVAIL AUTHOR TITLE YEAR
5 Daheim Mary Fowl Prey 1991
5 Daheim Mary The Alpine Advocate 1992
5 Daheim Mary The Alpine Betrayal 1993
5 Forster E. M. The Longest Journey 1922
5 Higgins Colin Harold and Maude 1971
5 Kerouac Jack On the Road 1955
5 Kerouac Jack The Dharma Bums 1958
5 Lawrence D. H. Lady Chatterley's Lover 1928
5 Lawrence D. H. Sons and Lovers 1913
5 Lewis Sinclair Babbitt 1922
5 Muller Marcia Edwin of the Iron Shoes 1977
5 Muller Marcia Eye of the Storm 1988
5 Pirsig Robert Zen & the Art of Motorcycle 1974
5 Tolkien J.R.R. The Hobbit 1937
5 Walker Alice The Color Purple 1982
5 Wright Richard Native Son 1940
PERIODICAL BOOKS
AVAIL MONTH YEAR TITLE
1 1 2009 Vegetarian Times
1 2 2009 Communications of the ACM
1 2 2009 Vegetarian Times
1 3 2009 Communications of the ACM
1 4 2009 Communications of the ACM
1 5 2009 Communications of the ACM
1 7 2009 Communications of the ACM
1 7 2009 Sigart Bulletin
1 1 2010 Communications of the ACM
1 1 2010 Vegetarian Times
1 2 2010 Communications of the ACM
1 3 2010 Communications of the ACM
1 12 2010 Vegetarian Times
1 3 2012 Communications of the ACM
1000 Mouse, Minnie:
1111 Mouse, Mickey:
5000 Moose, Bullwinkle:
ERROR: User ID "5678" is an invalid patron ID
ERROR: Command: "Z" is an invalid command
ERROR: Item Format: "X" is an invalid format
ERROR: Item Type "X" is an invalid Item Type
ERROR: User ID "1234" is an invalid patron ID
ERROR: Item: Bogus Title by Bogus Author was not found in the library
ERROR: Item: Bogus Title by Bogus Author was not found in the library
ERROR: Command: "X" is an invalid command
ERROR: Patron 3000 checkout failed due to no copies available of "Harold and Maude" by Higgins Colin
ERROR: Patron 6000 checkout failed due to no copies available of "Harold and Maude" by Higgins Colin
ERROR: Patron 2000 checkout failed due to no copies available of "Harold and Maude" by Higgins Colin
ERROR: Patron 2222 is attempting to return a book they do not have checked out.
CHILDREN BOOKS
AVAIL TITLE AUTHOR YEAR
5 As the Waltz was Ending Butterworth Emma Macalik 1982
4 Danny Dunn & the Homework Ma Williams Jay 1959
5 Horton hears a Who Seuss Dr. 1954
5 I Hate My Brother Harry Dragonwagon Crescent 1983
5 If you give a mouse a cookie Numeroff Laura 1985
5 Martha the Movie Mouse Lobel Arnold 1966
4 Old Lars Magnus Erica 1984
5 Penelope Gets Wheels Peterson Esther Allen 1982
5 Robots and Intelligent Machi Litterick Ian 1984
4 Smokey Peet Bill 1962
5 The Secret Life of Mr. Weird Allen Jeffrey 1982
4 Treehorn's Wish Heide Florence Parry 1984
4 Yertle the Turtle Seuss Dr. 1950
FICTION BOOKS
AVAIL AUTHOR TITLE YEAR
5 Daheim Mary Fowl Prey 1991
4 Daheim Mary The Alpine Advocate 1992
4 Daheim Mary The Alpine Betrayal 1993
4 Forster E. M. The Longest Journey 1922
0 Higgins Colin Harold and Maude 1971
4 Kerouac Jack On the Road 1955
4 Kerouac Jack The Dharma Bums 1958
4 Lawrence D. H. Lady Chatterley's Lover 1928
5 Lawrence D. H. Sons and Lovers 1913
4 Lewis Sinclair Babbitt 1922
4 Muller Marcia Edwin of the Iron Shoes 1977
4 Muller Marcia Eye of the Storm 1988
4 Pirsig Robert Zen & the Art of Motorcycle 1974
4 Tolkien J.R.R. The Hobbit 1937
4 Walker Alice The Color Purple 1982
4 Wright Richard Native Son 1940
PERIODICAL BOOKS
AVAIL MONTH YEAR TITLE
1 1 2009 Vegetarian Times
1 2 2009 Communications of the ACM
1 2 2009 Vegetarian Times
1 3 2009 Communications of the ACM
1 4 2009 Communications of the ACM
1 5 2009 Communications of the ACM
0 7 2009 Communications of the ACM
0 7 2009 Sigart Bulletin
0 1 2010 Communications of the ACM
1 1 2010 Vegetarian Times
0 2 2010 Communications of the ACM
1 3 2010 Communications of the ACM
1 12 2010 Vegetarian Times
1 3 2012 Communications of the ACM
1000 Mouse, Minnie:
CheckOut Muller Marcia Edwin of the Iron Shoe 1977
CheckOut Muller Marcia Eye of the Storm 1988
CheckOut Higgins Colin Harold and Maude 1971
1111 Mouse, Mickey:
CheckOut 1 2010 Communications of the ACM
CheckOut Danny Dunn & the Homework Ma Williams Jay 1959
Return Danny Dunn & the Homework Ma Williams Jay 1959
CheckOut 2 2010 Communications of the ACM
CheckOut 7 2009 Communications of the ACM
CheckOut Higgins Colin Harold and Maude 1971
5000 Moose, Bullwinkle:
CheckOut Danny Dunn & the Homework Ma Williams Jay 1959
Return Danny Dunn & the Homework Ma Williams Jay 1959
CheckOut Treehorn's Wish Heide Florence Parry 1984
CheckOut Old Lars Magnus Erica 1984
CheckOut Smokey Peet Bill 1962
CheckOut Yertle the Turtle Seuss Dr. 1950
CheckOut Higgins Colin Harold and Maude 1971
CheckOut Lewis Sinclair Babbitt 1922
CheckOut Higgins Colin Harold and Maude 1971
8888 Pig, Porky:
CheckOut Forster E. M. The Longest Journey 1922
CheckOut Walker Alice The Color Purple 1982
CheckOut Wright Richard Native Son 1940
CheckOut Lawrence D. H. Lady Chatterley's Love 1928
CheckOut Higgins Colin Harold and Maude 1971
==80611==
==80611== HEAP SUMMARY:
==80611== in use at exit: 0 bytes in 0 blocks
==80611== total heap usage: 1,684 allocs, 1,684 frees, 172,465 bytes allocated
==80611==
==80611== All heap blocks were freed -- no leaks are possible
==80611==
==80611== For counts of detected and suppressed errors, rerun with: -v
==80611== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
]0;amoghk12@csslab3h: ~/CSS343/Assignment4[01;32mamoghk12@csslab3h[00m:[01;34m~/CSS343/Assignment4[00m$ valgrind ./a.out[7Pg++ *.cppvalgrind ./a.out[7Pg++ *.cpp[2P./a.outg++ *.cppsudo nano /etc/ssh/sshd_configls[Ksudo nano /etc/ssh/sshd_configg++ *.cpp[K[2P./a.outg++ *.cppvalgrind ./a.out[7Pg++ *.cppvalgrind ./a.out[Kexit
Script done on 2022-03-12 00:18:03-08:00 [COMMAND_EXIT_CODE="0"]