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:是不是这样??? Posted by:ecjtubaowp at 2007-08-24 22:48:36 不能用==来判……这个相当于判指针相等…… > while(sc.hasNext()) > { > > String big=new String(sc.next().trim()); > String str; > //System.out.println(big); > if(big=="*")break; > } > 可我读到*还没有跳出来呀 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator