
常用
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 · 3274 阅读 · 1 评论 -
dos2unix
find dic -type f | dos2unix实现:遍历嵌套原创 2013-05-21 15:08:22 · 1014 阅读 · 0 评论