⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errata

📁 《Big C++ 》Third Edition电子书和代码全集-Part1
💻
字号:
Chptr 20
========

ppg. 733-734
------------
Inconsistent capitalization of entries:  Class scope, Global scope, File Scope.

pg. 737
-------
"To avoid this problem you can overload the function in the derived class, so
that both declarations appear in the same scope:"

Should that be "override", instead of "overload"?

pg. 737
-------
Missing semicolon after call to set_salary:

void Manager::set_salary(int new_salary)
{
	Employee::set_salary(new_salary) // Invoke the base class function
}

pg. 743, Syntax 20.2
--------------------
class ClassName
{
	. . .
	friend ClassName;	<== this is ambiguous
...

friend ostream& operator<<(ostream& out, const Employee& e)
		<== missing semicolon

pg. 755, matrix4.h listing
--------------------------
line 275.  Namespace needs a closing curly brace.


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -