摘要: 判断是否为空txt的方法 1 bool empty_file() 2 { 3 bool ret = 0; //初始化为0 4 ifstream fin; 5 fin.open("data.txt"); 6 if(fin.peek() == EOF) 7 ... 阅读全文
posted @ 2015-06-02 21:19 QianL_路千 阅读(201) 评论(0) 推荐(0) 编辑