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

Re:Input consists of several lines of text. EOF

Posted by yjn at 2005-08-07 15:03:40 on Problem 2538
In Reply To:Input consists of several lines of text. EOF Posted by:sunmoonstar_love at 2005-08-07 15:00:59
这个我有判断,就是EOF那里似乎有问题,我用的是:
while (scanf("%c",&ch)!=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