7.1.3  stream操作符

7.1.3 stream操作符

“operator>>”和“operator<<”被相应的streamclasses重载,分别用于输入和输出。C++移位操作符变成了I/O操作符。例如,

978-7-111-51399-5-Chapter07-1.jpg