Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
cin就if(!cin)成真的时候表示结束了,scanf就判断返回值In Reply To:再问一个问题,C++怎么判断输入文件结束?(+) Posted by:ZhangQi at 2005-02-03 15:47:59 前者只是表示输入流进入失败状态了 读完了就是失败状态的一种 > 我只知道用EOF,具体语句不会! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator