| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
建议去看一下c++或者c从字符串读入的机制In Reply To:用getline读入的是字符呢? Posted by:Judas at 2005-08-16 10:04:43 c++是strstream c是sscanf 或者你自己来从字符串中分析数字 还有一种方法是直接读入,判断后面是不是回车 只是我觉得这样容易出错,不如个getlinet来的好 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator