setprecision 也是包含在命名空间iomanip 中的C++ 操作符,该操作符的作用是设定浮点数; setprecision(2) 的意思就是小数点输出的精度,即是小数点右面的 ...
確定! 回上一頁