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

对!VECTOR是可以,但是数组不行

Posted by uni at 2005-12-11 18:37:17
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:
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