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.good()

Posted by d2d2 at 2006-11-11 20:59:12 on Problem 1706
In Reply To:请问这道题怎样判断输入结束?用cin.getline()或gets()好象都没有好的解决方法…… Posted by:TL at 2006-03-13 17:16:52
while (cin.good()) {
  // ...
}

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