Defined Terms 术语 argument(实参) A value passed to a function when it is called. 传递给被调用函数的值。 block(块) Sequence of statements enclosed in curly braces. 花括号括起来的语句序列。 buffer(缓冲区) A region of storage used to hold data. IO facilities often store input (or output) in a buffer and read or write the buffer independently of actions in the program. Output buffers usually must be explicitly flushed to force the buffer to be written. By default, reading cin flushes cout; cout is also flushed when the program ends normally. 一段用来存放数据的存储区域。IO 设备常存储输入(或输出)到缓冲区, 并独立于程序动作对缓冲区进行读写。 输出缓冲区通常必须显式刷新以强 制输出缓冲区内容。默认情况下,读 cin 会刷新 cout;当程序正常结束 时,cout 也被刷新。 built-in type(内置类型) A type, such as int, defined by the language. C++ 语言本身定义的类型,如 int。 cerr ostream object tied to the standard error, which is often the same stream as the standard output. By default, writes to cerr are not buffered. Usually used for error messages or other output that is not part of the normal logic of the program.绑定到标准错误的 ostream 对象,这通常是与标准输出相同的流。默认 情况下,输出 cerr 不缓冲,通常用于不是程序正常逻辑部分的错误信息 或其他输出。 cin istream object used to read from the standard input. 用于从标准输入中读入的 istream 对象。 class C++ mechanism for defining our own data structures. The class is one of the most fundamental features in C++. Library types, such as istream and ostream, are classes. 用于自定义数据结构的 C++ 机制。类是 C++ 中最基本的特征。标准库类 型,如 istream 和 ostream,都是类。 class type A type defined by a class. The name of the type is the class name. 由类所定义的类型,类型名就是类名。 clog ostream object t...