C++ primer 习题8.3

#include<iostream> #include<stdexcept> using namespace std; std::istream &get(std::istream &in) { int ival; while(in >> ival,!in.eof()){ if(in.bad()) throw std::runtime_error("IO system corrupt
相关文章
相关标签/搜索