c++ ostream ??
请问这种对象temp格式的输出怎么实现??
cout << setiosflags( ios::fixed | showpoint) << setprecision( 1 ) << temp;
比如: ostream& os << op1 <<style_one << temp;
ostream& os << op2 <<style_two << temp;
对象 temp 分别已style_one 或 style_two 按照op1 或 op2 的限定操作 输出到流 os中???
注意 不能使用全局变量