会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
OhYee
首页
新随笔
管理
2015年10月15日
关于cin.eof()的问题
摘要: 若要判断文件尾,有很多种方法。作为对比,有while(cin>>s){ ...}while(!cin.eof()){ ...}while(scanf("%s",&s)!=EOF){ ...}但是cin.eof()并不像其看着的样子那样...
阅读全文
posted @ 2015-10-15 12:05 OhYee
阅读(1325)
评论(0)
推荐(0)
编辑
公告