摘要: 今天在看primer,17ch中的IO库再探,做课后练习,要求用ifstream.getline(char*, const unsigned, char)读取一个文件,用循环:while(ifs.getline(str,10,'\n'))来读取文件,但while的判断条件一直为假,也就是说ifs.g... 阅读全文
posted @ 2015-12-11 21:34 loversinJapan 阅读(1637) 评论(0) 推荐(0) 编辑