Computer Science, asked by ravimunivenkttappa, 4 months ago

explain the different methods of nopening a file in C++​

Answers

Answered by pdhawale1052008
0

Answer:

In C++, a file is opened by linking it to a stream. There are three types of streams: input, output and input/output. To open an input stream you must declare the stream to be of class ifstream. To open an output stream, it must be declared as class ofstream.

Explanation:

Similar questions