阅读背景:

为什么std::ios_base::ignore()设置EOF位?

来源:互联网 

When I read all data from a stream, but make no attempt to read past its end, the stream's EOF is not set. That's how C++ streams work, right? It's the reason this works:When I read all data from a stream, but make no




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: