To open an input stream you must declare the stream to be of class ifstream. To open an output stream, ... To close a file, use the member function close().
確定! 回上一頁