慕神8447489
不那么冗长的东西,用逗号隔开的东西。stringstream ss( "1,1,1,1, or something else ,1,1,1,0" );vector<string> result;while( ss.good() ){
string substr;
getline( ss, substr, ',' );
result.push_back( substr );}