【发布时间】:2015-07-30 14:01:45
【问题描述】:
我见过这样写的代码:
ifstream fin;
fin.open("largefile.dat", ifstream::binary | ifstream::in);
现在这让我很困惑,上面的代码和下面使用ios::binary 和ios::in 作为替换的代码之间有什么区别吗?
ifstream fin;
fin.open("largefile.dat", ios::binary | ios::in);
【问题讨论】: