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 |
关于gets()的问题这是我程序的输入: scanf("%d%d",&n,&m); gets(order); //第一个order数组,用来吃掉回车 for(i=0;i<n;i++) scanf("%s",sou[i]); gets(order); //这个是什么作用? 回车符不是已经被上面的命令吃掉了? gets(order); //用来存“END” 第二个gets(order)是什么作用? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator