C++ cout formatting output

How to format outputs with cout in C++?

You need IO Manipulators <iomanip>: Header providing parametric manipulators.

There are also good tutorials on the Web:

Output Formatting: http://arachnoid.com/cpptutor/student3.html

Formatting Cout Output in C++ using iomanip: http://www.cprogramming.com/tutorial/iomanip.html

Answered by anonymous.

Leave a Reply

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