istream | ifstream | istringstream | |
---|---|---|---|
ostream | ofstream | ostringstream |
iostate_type:
badbit(崩溃) failbit(单次失败) eofbit(结束) goodbit(安全)
judge_state:
s.eof() s.fail() s.bad() s.good() s.clear()(复位所有) s.(flags)(只复位flag) s.setstate(flags) s.rdstate()(当前状态)
|
|
istream | ifstream | istringstream | |
---|---|---|---|
ostream | ofstream | ostringstream |
iostate_type:
badbit(崩溃) failbit(单次失败) eofbit(结束) goodbit(安全)
judge_state:
s.eof() s.fail() s.bad() s.good() s.clear()(复位所有) s.(flags)(只复位flag) s.setstate(flags) s.rdstate()(当前状态)
|
|