- 迫于拙劣的cpp水平,来补补以前忽略掉的cpp细节。 - 老规矩,先放资料。 - 参考资料: - A Gentle Introduction to C++ IO Streams - "Designing and implementing a general input/output facility for a programming language is notoriously difficult" - Bjarne Stroustrup - Stream的基本认识- 说说我的理解。stream(流)可以看做输入输出的抽象。我们通过流可以忽略掉device的细节,采取同样的输入输出方式。 
 阅读更多