编号 |
页码和行数 |
更正前 |
更正后 |
注 |
1 |
P139 |
每一个递归数 |
每一个递归函数 |
|
2 |
P21 |
Var5 = static_cast<float>( var1 ) / 4; |
Var5 = static_cast<double>( var1 ) / 4; |
|
3 |
P160, Line 3 |
Class ivan(6,2), baby(1,0); |
Class dragon ivan(6,2), baby(1,0); |
|
4 |
P318:倒数第六段末尾: |
but incorrect never the less. |
,but incorrect nevertheless. |
|
5 |
P334: |
(Technically, a function generated from a class template is known as a template function.) |
(Technically, a function generated from a function template is known as a template function.) |
|
6 |
P374 |
3. The default open mode of an ifstream object is is::in and the default mode for an ofstream object is in::out. No default mode exists for an fstream object and must be specified, e.g. fstream in_out(”file.txt”, is:in | is::out); |
3. The default open mode of an ifstream object is ios::in and the default mode for an ofstream object is ios::out. No default mode exists for an fstream object and must be specified, e.g. fstream in_out(”file.txt”, ios::in | ios::out); |
|
7 |
P374 |
Ifstream类对象的默认打开模式是is::in,而ofstream类对象的默认打开模式是in::in |
Ifstream类对象的默认打开模式是ios::in,而ofstream类对象的默认打开模式是ios::in |
|
|
|
|
|
|
|
|
|
|
|