c++ cout格式化输出
How to format outputs with cout
in C++?
如何在C ++中使用cout
格式化输出?
You need IO Manipulators <iomanip>: Header providing parametric manipulators.
您需要IO操纵器<iomanip> :提供参数操纵器的标头。
There are also good tutorials on the Web:
网络上也有不错的教程:
Output Formatting: http://arachnoid.com/cpptutor/student3.html
输出格式: http : //arachnoid.com/cpptutor/student3.html
Formatting Cout Output in C++ using iomanip: http://www.cprogramming.com/tutorial/iomanip.html
使用iomanip在C ++中格式化Cout输出: http ://www.cprogramming.com/tutorial/iomanip.html
Answered by anonymous.
匿名回答。
c++ cout格式化输出