Answer the following statements true (T) or false (F)

1. If a file already exists, you can open it with the flags ios::in | ios::out to preserve its contents.
2. To write to a file, you use the file_write function.
3. The setprecision manipulator cannot be used to format data written to a file.
4. The ios::hardfail bit is set when an unrecoverable error occurs.


1. T
2. F
3. F
4. T

Computer Science & Information Technology

You might also like to view...

You can make ____ objects by changing the stacking order of overlapping line segments.

A. interesting B. interlocking C. concentric D. selectable

Computer Science & Information Technology

The frameset document may also contain page content

Indicate whether the statement is true or false

Computer Science & Information Technology

Word provides predefined Table Styles

Indicate whether the statement is true or false

Computer Science & Information Technology

What’s a good way for a system administrator of a multi-user system to tell people about important events?

What will be an ideal response?

Computer Science & Information Technology