有四个预定义的 iostream:
cin,连接到标准输入
cout,连接到标准输出
cerr,连接到标准错误
clog,连接到标准错误
除了 cerr 之外,所有预定义的 iostream 都是完全缓冲的。请参见14.3.1 使用 iostream 进行输出和14.3.2 使用 iostream 进行输入。