Page |
Line |
Change |
To |
| 39 | 6B | Delete return 0; | |
| 42 | 4B | \n which | \nwhich |
| 2B | Delete return 0; | ||
| 45 | 3T | feet()fCable | feetOfCable |
| 2B | Delete return 0; | ||
| 47 | 9B | Delete return 0; | |
| 1B | setiosflags ( | setiosflags( | |
| 54 | 14B | Delete return 0; | |
| 56 | 3B | Delete (see Appendix F) | |
| 69 | 2B | appendix F | the website described in the preface |
| 91 | 5B of
Table 2.5 |
or | or |
| 109 | 6B of boxed display | <ostream> | ostream |
| 117 | 12B | Delete return 0; | |
| 140 | 5B of Ex. 19 | top line of stick number for 2 | align with bottom line |
| 154 | 4B of boxed display | Purpose: | Purpose: |
| 174 | 1B | m + m + 1 + | m + (m + 1) + |
| 196 | 5T | Web site | website |
| 242 | 2B | NPOS | npos |
| 1B | header file | library | |
| 243 | 8T | NPOS | string::npos |
| 19T | NPOS | npos | |
| 16B | NPOS | string::npos | |
| 9B | NPOS | npos | |
| 244 | 5T | NPOS | string::npos |
| 16B | NPOS | string::npos | |
| 6B | NPOS | npos | |
| 245 | 2T | ? | * |
| 4T | * | ? | |
| 246 | 5B (Ex. 26) | s1.replace(i, 1, "xx"); | if (i == string::npos)
break;
s1.replace(i, 1, "xx"); |
| 250 | 4B | NPOS | string::npos |
| 251 | 18B | NPOS | string::npos |
| 253 | 18-19T | Web site | website |
| 292 | 2 of Ex. 2 | operator | op |
| 3 of Ex. 2 | operator | op | |
| 323 | 16B | Delete return 0; | |
| 342 | 4T | digits.cpp | digits 6.cpp
(should be: digits6.cpp) |
| 348 | 14 in Ex. 10 | cout << "###\n" | cout << "###\n"; |
| 16 in Ex. 10 | cout << "***\n" | cout << "***\n"; | |
| 1 in Ex. 12 | i = 0; | i = 1; | |
| 4 in Ex. 12 | j = i | j = i; | |
| 356 | 1B - 7B | (3rd sentence of last par.)
"This means that if we wish . . . input can be performed." |
"In some versions of C++ it is possible to read values after the eof mark has been read by calling the istream function member clear() to reset the status flags." |
| Add sentence to end of para. | "As illustrated, this technique works in gnu C++, but it will not work in some other versions of C++." | ||
| 357 | 15B | Insert new line after it: | // This may not work in some versions of C++ |
| 3B | UNIX System | UNIX System using gnu C++ | |
| 406 | 11 in
Ques. 12. |
c = BAT; | c = BAT; (Indent 1 more space) |
| 407 | Ex. 1 & 2 | two | TWO |
| 449 | 20T | cout >> "Next y value? ";; | cout >> "Next y value? "; |
| 27T | double(n - 1) | double(n) | |
| 454 | 6B | Web site | website |
| 458 | 3 of
Prob. 16 |
f1 = f2 = 0 | f1 = f2 = 1 |
| 459 | Ex. 19 | Renumber as 35 and
move to p. 584 |
|
| Ex. 20 | Renumber as 19 | ||
| Ex. 21 | Renumber as 20 | ||
| Ex. 22 | Renumber as 21 | ||
| Ex. 23 | Renumber as 22 | ||
| 460 | Ex. 24 | Renumber as 23 and begins on p. 459 | |
| 533 | 1B | chapter 11 | chapter 12 |
| 542 | 6T | int i, | int i, j, n = 9;
should be: int i, j, n = 9, |
| 576 | Exer. 9 | pushback | push_back |
| Exer. 12 | w.pushback(*it + 1); | w.push_back(*iter + 1); | |
| 582 | 3T | closed | open |
| 584 | end of chap. | Problem 19 from p.459 is
renumbered as 35 and added to this set of programming problems. |
|
| 615 | 20T,22T,24T | Delete extra space before equivalent | |
| 620 | 7T & 8T | int | double |
| 626 | 15B | Appendix E | the end of Chapter 8 |
| 637 | 25T | systems and | systems, and |
| 640 | 4B | Web site | website |
| 647 | 4 of Prob. 13 | web site | website |
| 2 of Prob. 14 | Problem | Problem 16 | |
| 652 | 8B | Wavelength (theColor) | Wavelength(theColor) |
| 673 | Top & bottom
of diagram |
= = | == |
| 678 | 8B | frequency corresponding to | wavelength of |
| 680 | Bottom | Add a line: | if (cin.fail()) break; |
| 681 | 10B | CLASS ROCK HEADER FILE | CLASS Rock HEADER FILE |
| 692 | 5 of Prob. 18 | Delete: inversely | |
| 712 | 2B | Append ; | |
| 739 | 10T | Web site | website |
| 741 | 13T | in appendix H | at the website described in the preface |
| 749 | 8-9T | (Last sentence of section)
"These classes are discussed . . . SampleWindow." |
"For descriptions of these classes see the website
described in the preface." |
| 826 | 1B | signific ant | significant |
| 850 | 3 of Quick
Quiz 3.6 |
Delete the "3." before the "2." in
the second column |