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

STRING STREAM的用法

Posted by reve at 2005-12-12 19:32:54
In Reply To:求教 Posted by:uni at 2005-12-11 16:42:48
string str = "abc 10";
string s;
int i;

istrstream iss( str );
iss >>s >>i;     // s == "abc, i = 10

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