摘要: string fname = "a.txt"; string buf; fstream fp(fname ); while (!fp1.eof() && fp1.peek() != EOF){ getline(fp1, buf);// read one line } fp.close(); 阅读全文
posted @ 2019-07-28 20:23 BlueOceans 阅读(880) 评论(0) 推荐(0) 编辑