2009年5月22日 - 文件操作(二)——ifstream和ofstream用法. 我只是介绍 ... while (readfile.getline(str, len)).
hi.baidu.com