![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
ZiMoXuan_
这个作者很懒,什么都没留下…
展开
-
cout 控制输出小数位数
cout 控制输出小数位数 x 是小数位数 cout << fixed << setprecision(x) << a << endl; 或 cout.precision(x); cout <&原创 2018-05-05 13:47:26 · 1374 阅读 · 0 评论 -
划分中文字符串,宽字符的插入
需求: 将一串中文字符以某个关键字插入某个字符从而划分成多个串; 环境 Microsoft Visual Studio 2015; Windows 10; 对c++处理宽字符不是很懂,百度了一堆才刚刚完成需求。 #include <iostream> #include <string> #include <locale> #include <fs原创 2018-05-25 14:15:34 · 358 阅读 · 0 评论