Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:求教

Posted by zhucheng at 2005-12-11 17:03:11
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator