![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
常用
wusoule
这个作者很懒,什么都没留下…
展开
-
c++ 把文件转换成string
fstream fs; string line,str; fs.open("D::\\txt"); if (!fs) { cout << "cannot open the file" << endl; return -1; } while (getline(fs, line)) { line += '\n'; str += line; }原创 2013-05-21 12:17:49 · 3177 阅读 · 1 评论 -
dos2unix
find dic -type f | dos2unix 实现:遍历嵌套原创 2013-05-21 15:08:22 · 984 阅读 · 0 评论