Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

cin就应该没有。

Posted by plumage at 2005-05-20 16:26:15 on Problem 1047
In Reply To:倒不是不该问,我只是觉得文件和标准输入是一样处理的,cin应该也有eof函数 Posted by:hawk at 2005-05-20 16:05:29
但是,这里之所以有,是因为文件通过管道重定向转过来到stdin的,实际上就是文件输入.所以,就有了EOF
你看看前面的答复就会知道了的。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator