#include
break; } tmp_s = o_str.substr( 0, comma_n ); o_str.erase( 0, comma_n+1 ); str_list.push_back( tmp_s ); }
while(true); system( "pause" ); #include
{ std::string tmp_s = ""; comma_n = o_str.find( " " ); if( -1 == comma_n ) { tmp_s = o_str.substr( 0, o_str.length() ); str_list.push_back( tmp_s ); break; } tmp_s = o_str.substr( 0, comma_n ); o_str.erase( 0, comma_n+1 ); str_list.push_back( tmp_s ); } while(true); system( "pause" ); }