Output Formatting

Output Formatting:

{+} Formatting program output is an essential part of any serious application. Surprisingly, most C++ textbooks don’t give a full treatment of output formatting.

{+} The purpose of this section is to describe the full range of formatting abilities available in C++.

{+} Formatting in the standard C++ libraries is done through the use of manipulators, special variables or objects that are placed on the output stream.

{+} Most of the standard manipulators are found in <iostream> and so are included automatically.

{+} The standard C++ manipulators are not keywords in the language, just like cin and cout, but it is often convenient to think of them as a permanent part of the language.

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *