English

Write the function of the following file stream class: ofstream

Advertisements

Questions

Write the function of the following file stream class:

ofstream

Explain the function of the following file stream class:

ofstream

Explain
Very Short Answer
Advertisements

Solution

It is used to perform output operations and includes the open() function with default output mode.

It inherits functions like put(), seekp(), tellp(), and write() from the ostream class.

shaalaa.com
  Is there an error in this question or solution?
Advertisements
Share
Notifications



      Forgot password?
Use app×