该继承图有必要说下,ifstream由istream派生,ofstream由ostream派生,而istream,ostream在重载输入输出流的时候是作为引用参数,而又恰是ifstream和ofstream的基类, ...
確定! 回上一頁