【发布时间】:2014-04-25 22:34:25
【问题描述】:
把这些问题放在一起:
How can I pad an int with leading zeros when using cout << operator?
Printing the correct number of decimal points with cout
我怎样才能流到std::cout,例如这个变量
double x = 7.1224
让它看起来像这样?
07.12
【问题讨论】:
-
被否决票的奥秘...