| ||||||||||
| 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:uni at 2005-12-11 16:42:48 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