| ||||||||||
| 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 | |||||||||
不知道这个问题去那里问,请各位帮忙我看了很多题,每种题有不同的输入结束方法
有道题输入字符串,并且terminated by end-of-file.
不知道怎么判断end-of-file
scanf("%s",buf);
if(strcmp(buf,"?????")==0)
return 0;
??????????部分到底怎么写,或者还是别的什么写法,请各位帮忙。谢谢!
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator