### Lab Manual Errata List

#### To

4 1st column of table 4, 7

4, 5

4, __

4, __

(__ is 5 or 7, depending on value used by student)

5 last Delete "attached to a listing of your final program"
9 12, 14 of table 25 21
27 #3 8 integers 2, 3, 5, 7, 11, 13, 17, 19 16 integers 2, 3, 5, 7, 11, 13, 17, 19,
23, 29, 31, 41, 43, 47, 53, 59
27 #5, parts a & b 8 integers 16 integers
31 #12 arr[-2]

arr[9]

arr[-10]

arr[20]

39 2, 4 in bottom box color rock
40 4 Recompile and execute Recompile
#else, of #else, or
41 2B FunctionNmme FunctionName
43 6B operator<< in Project 2A operator>> in Project 2A
49 3T RockName.txt RockFile.txt
18B count[Name(rockVal)] count[rockVal.Name()]
50 1 Color Rock
51 2a of "Hand in" Add: "and of the application program"
2d of "Hand in" RockName.txt RockFile.txt
57 First line below
the figures
Continuing with the last diagram on
the preceding page
Continuing with the last diagram above
3B Rear myBack
2B To remove a value from the queue: To retrieve a value from the queue:
To remove a value from the queue:

76 6 involving involves
18B recursive recursively
12B in interesting is interesting
78 2nd row, 2nd column of 1st table 4 / 2 = 1 4 / 2 = 2
80 next to last entry in 2nd column of first table |2|?|1| |4|?|1|
88 Line 2 of Part 1 Exercise 32 Exercise 33
95 4T infoPtr2 infoPtr1
99 5T Insert space between anonymous and variables
100 11B happens they happens when they
112 1B position = 3 position = 4
124 13B Prorder() Preorder()
126 3T destructor copy constructor
133 7B (140) (120)
157 Item 1 of Hand in: Delete "the questions Q1, Q1, and Q3 in "
163 2T websited website
4T sphere.cpp matrix.cpp
188 5B Insert(char(65+i), i) Insert(i, char(65+i))
196 Line 5 of
PART 4
Insert
BST<int> anotherBST;
before the line
copy = anotherBST = intBST;

198 2T x.size() - 1 x.size() - 2
7T i < numPairs i <= numPairs