| ||||||||||
| 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 | |||||||||
对!VECTOR是可以,但是数组不行In Reply To:Re:求教 Posted by:zhucheng at 2005-12-11 17:03:11 > struct SS
> {
> int a;
> SS(){};
> };
> vector<SS> vsssss;
> SS tow[100];
> 能通过编译啊!
> 是不是要把string里面的东西读出来?
> 我都这样读
> string ss("abcd 23 1234");
> char p[10];int a,b;
> sscanf(ss.c_str(),"%s %d %d",p,&a,&b);
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator