cpp cpp 取消科学计数法: 头文件 cout.setf(ios::fixed,ios::floatfield); 保留小数精度: cout « fixed « setpresicion(1) « num ; 流式写法: 每次接受一个输入,立刻判断处理.一次循环. 缓冲式写法: 批量写入数据,批量处理.多个单循环