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啊?什么叫EOF??

Posted by javaman at 2005-04-28 16:38:29 on Problem 2408
In Reply To:怎么结束input啊?什么叫EOF?? Posted by:00448175 at 2005-04-28 16:24:37
文件结束啊
如果是c++ while (cin>>s) 
c 
 while (scanf("%s",s)!=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