To reset the format state of the output stream:

a. Call the reset member function.
b. Call the flags member function with the ios_base::fmtflags constant as the argument.
c. Save a copy of the fmtflags value returned by calling member function flags before making any format changes, and then call flags again with that fmtflags value as the argument.
d. You must manually apply each individual format change member function or stream manipulator to restore the default format state.

c. Save a copy of the fmtflags value returned by calling member function flags before making any format changes, and then call flags again with that fmtflags value as the argument.

Computer Science & Information Technology

You might also like to view...

Alice has a special object called ___________________ text that allows you to add text to a world.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

E-mail spoofing involves sending an e-mail message with a harmful attachment.

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

Computer Science & Information Technology