1)第11页倒数第10行:
The
keyword int is option here, so v1 can also be defined as
这句话中的v1应修改为v2,即:
The keyword int is option here, so v2 can also be defined as
Page 11 2.5.2
So v1 v2
can also be defined as:
2)第21页倒数第8行
Page 21
To display the total of the integer parts of these numbers
3)第24页,文字的倒数第12行(表格的倒数第4行)
Page 24
int n1=10, n2=20, n3, n4 ;
4)第25页倒数第11行
Page 25
4. Construct Write
a variable definition for
5)第31页倒数第15行
Page 31
display the message text in the double quotes and
6)第39页倒数第14行
Page 39
there is a choice of executing
7)第48页正数第8行应该缩进,即
for( initial expression ; continue condition;
increment expresson )
8)第49页倒数第2行、第3行、第8行
Page 49
1.To display the table for numbers from 10
down to 1, change line 10 12
2. To display the table foer even numbers between
from 2 and to
10, change
line 10 12 to:
9)第59页倒数第17行
Page 59
20. Write a program that outputs displays all the numbers from 5 and to
10)第109页正数第2和第3行
Page 109
4 // non-alphabetical characters at the
start of the forename and
5 // and assume at lest least
11)第112页倒数第10行
Page 112
6. Write a program to read in three
12)第133页倒数第2段中文文字的第1行,P7J应为P7K
Page 133
In chinese: P7J P7K
13)第187页倒数第11行
Page 187
incorporate the bank account header interface and source implementation files into the
program.
相应的中文“头文件”改成“的接口”,“源文件”改成“实现文件”
14)第276页图11.1中漏掉了一个词“class”:
The word class is missing in figure 11.1 on page 276. It should read: This is called the derived or inherited class
Page 276 (The text box is too small.)
This is called the derived or inherited class
15)第319页正数第2行
Page 319
The area of the cylinder is 37.68 62.8
16)附录B,多了一个分隔线
Appendix B
There is an extra dividing line above Multiply
17)附录C,ASCII码105对应的字符不是大写的I,应为小写的i
Appendix C
On the right side of the table I instead of i
105 69 i
18)第192页倒数第4行“an unsigned floating point data member”改成“a floating-point data member”
Page 192: 4(d) You cannot have an unsigned floating point so it should be:
and a floating-point data member
19)第375页表格的第4行getline( in, cpp_str )后面丢失了一个分号
Page 375:
In the 4th row, missing ; after getline( in, cpp_str )
20)第60页倒数第12行
The number of elements in an array is known as the dimension of the array. The dimension of the array numbers is 10.
改成
The number of elements in an array is the size of the array. The size of the array numbers is 10.
数组中元素的个数称为数组的维数。例如,数组numbers的维数是10.
改成
数组中元素的个数称为数组的大小。例如,数组numbers的大小是10.