C++ An Introduction to Computing, 3e
Errors in the First Printing

ChSec
Page

Line

Change

To

1.2
15
22 line 18   cin >> radius line 17   double radius
2.2
43
19 & 20 SHORT_MIN

SHORT_MAX

SHRT_MIN

SHRT_MAX

5.4
251
5 from bottom string::pos string::npos
5.6
269
line 14 of Fig. 5.6 herName anotherStudent.getName()
8.4
446
6 functions function's
8.6
466-7
3 diagrams 5!    5    4!
4!    4    3!
3!    3    2!
2!    2     1!
1!    1     0!
0!    1
5! = 5 x 4!
4! = 4 x 3!
3! = 3 x 2!
2! = 2 x 1!
1! = 1 x 0!
0! = 1
8.6
475
3 from bottom letters numbers
9.4
540
2 from bottom ostreamstream ostringstream
9.4
541
3 of Fig. 9.7 istringstream ostr ostringstream ostr
9.4
581
12 from bottom dubArray theArray
10.6
619
Exercise 9 pushback push_back
11
701-2
Programming Problems 1-11 References to Exercise 9, 10,  ..., 17 Exercise 10, 11,  ..., 18,
respectively
12.5
747
line 7 of Fig. 12.20 #include "Color.h" #include "Colors.h"
13.3
789
line 22 of Fig. 13.5 Insert the line
  if (in.eof()) break;

before the line
  in.get(separator);

15.1
903
line 7 of Fig. 15.2 Insert the line
  #include <string>

before the line
  #include <iostream>

 
966 Quick Quiz 3.4
#6
c = 'A'
c = 'E'
c = 'I'
c = 'O'
c = 'U'
c == 'A'
c == 'E'
c == 'I'
c == 'O'
c == 'U'
969 Quick Quiz 4.4
7th line from bottom
9.   10 9.   6
974 Quick Quiz 9.2
#3
#4

istream
ostream

ifstream
ofstream
976 Quick Quiz 10.3
Line 2 of #2
then inserts x2 then inserts x3
980 Between Quick Quiz 14.2
and
Quick Quiz 15.1
Insert answers for Quick Quiz 14.3 Quick Quiz 14.3
1. true
2. nodes, pointers
3. data, next
4. null
5. false
6. true