| ||||||||||
| 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 | |||||||||
Re:请仔细读题,理解清楚题目每一句话的意思,你漏掉的意思往往会成为关键In Reply To:Re:请仔细读题,理解清楚题目每一句话的意思,你漏掉的意思往往会成为关键 Posted by:float at 2006-03-14 14:41:52 xf你给我flash一边去!
> char *gets( char *buffer );
> Return Value
> Each of these functions returns its argument if successful. A NULL pointer indicates an error or end-of-file condition.
>
> istream& getline( char* pch, int nCount, char delim = '\n' );
>
> 用法:
> while(gets(str))
> {
> ...
> }
> while(cin.getline(str, 100))
> {
> ...
> }
>
> 这个题,空行的判断比较奇特.PE了两次-_-
>
> 最后,让我们大家一起来鄙视styc吧~~~:)
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator