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:一点接受输入经验, gets(char *)、getline(basic_istream is, string& str)

Posted by songzi at 2008-10-01 16:34:50 on Problem 2681
In Reply To:一点接受输入经验, gets(char *)、getline(basic_istream is, string& str) Posted by:userfriendly at 2008-07-23 01:18:24
一语惊醒梦中人啊!!!
开始老是在str1和str2上找原因,就没想到在输入测试次数后还有一个换行符!!!
多谢!!多谢!!

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