摘要: 若要判断文件尾,有很多种方法。作为对比,有while(cin>>s){ ...}while(!cin.eof()){ ...}while(scanf("%s",&s)!=EOF){ ...}但是cin.eof()并不像其看着的样子那样... 阅读全文
posted @ 2015-10-15 12:05 OhYee 阅读(1325) 评论(0) 推荐(0) 编辑