摘要:
下面是IO类的继承关系: ifstream和istringstream都继承自istream。因此,我们可以在传递istream对象的地方传递ifstream和istringstream。 例如:对ifstream和istringstream对象调用getline,也可以用>>从ifstream和i 阅读全文
posted @ 2017-04-13 22:05
乘风有时
阅读(3255)
评论(0)
推荐(0)
2017年4月13日