boost的split
1 ifstream infile; 2 infile.open("funclist.txt",ios::in); 3 string curline; 4 5 while (!infile.eof()) 6 { 7 vector<string> splitstring; 8 getline(infile,curline); 9 //boost::algorithm::s 10 split(splitstring,curline,is_any_of(" ")); 11 funcinfo* pfi=new funcinfo; 12 13 //rege 14 }