niusouti.com
参考答案和解析
正确答案:close
close
更多“fstream、ifstream和ofstream文件流类的成员函数______关闭文件。 ”相关问题
  • 第1题:

    不论ifstream或ofstream对象,打开文件都可以使用构造函数或 函数,这两种方式所使用的函数的参数可以完全一致。


    in

  • 第2题:

    fstream从()派生而来,把文件绑定到程序输入/输出。

    A.ofstream

    B.istream

    C.iostream

    D.ifstream


    iostream

  • 第3题:

    ifstream 类与 ofstream 类中均有一个 filebuf 类型的对象成员


    正确

  • 第4题:

    13、ifstream 类与 ofstream 类中均有一个 filebuf 类型的对象成员


    正确

  • 第5题:

    6、包含类fstream定义的头文件是?

    A.iostream.h

    B.fstream.h

    C.ofstream.h

    D.ifstream.h


    iostream.h