Develop and Download Open Source Software

Browse Subversion Repository

Diff of /Conograph/trunk/src/utility_func/zstring.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by rtomiyasu, Fri Feb 22 04:51:31 2013 UTC revision 31 by rtomiyasu, Wed Mar 11 01:09:25 2015 UTC
# Line 49  void split(const string& str, vector<str Line 49  void split(const string& str, vector<str
49          string::size_type index0;          string::size_type index0;
50          while( index != string::npos ){          while( index != string::npos ){
51                  index0 = index + 1;                  index0 = index + 1;
52                  index = str.find_first_of('_', index0);                  index = str.find_first_of(delim, index0);
53                  word.push_back( str.substr(index0, index-index0) );                  word.push_back( str.substr(index0, index-index0) );
54          }          }
55  }  }

Legend:
Removed from v.3  
changed lines
  Added in v.31

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26