errata

来自「《Big C++ 》Third Edition电子书和代码全集-Part1」· 代码 · 共 26 行

TXT
26 行
字号
Section 18.3.4:
---------------

1)
Inconsistent highlighting in examples:

	Employee::Employee(String employee_name, double initial_salary)
		: name(employee_name), salary(initial_salary)

Last line blue, but:

	TeachingAssistant::TeachingAssistant(String student_name)
		// Teaching assistants all get same starting salary
		: Employee(student_name, 5000)

is all the same color.

2)
The PartDescription class definition needs a semicolon


Section 18.5
------------
sharedstring.cpp:  declaration of SharedString::operator= (line 12) does
not match  defintion (line 48).  Return a reference, or a copy?

⌨️ 快捷键说明

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