输入流的继承关系:ios_base <- ios <- istream <- ifstream 1C++ 使用标准库类来 ... ifstream ifs('test.txt'); if(!ifs){ cout<<'open file fail!
確定! 回上一頁