iomanip——定义IO流输出输入格式的头文件
cout << fixed << setprecision(0) << 数据 << endl;
//不以科学计数法输出—固定格式+0精度
收藏并分享2篇文章关于cout输出:
https://blog.csdn.net/qq_34028920/article/details/77600515
http://c.biancheng.net/cpp/biancheng/view/2227.html
日期:2019/4/27
iomanip——定义IO流输出输入格式的头文件
cout << fixed << setprecision(0) << 数据 << endl;
//不以科学计数法输出—固定格式+0精度
收藏并分享2篇文章关于cout输出:
https://blog.csdn.net/qq_34028920/article/details/77600515
http://c.biancheng.net/cpp/biancheng/view/2227.html
日期:2019/4/27