【C++】split
摘要:
--------------------------------------------------1-------------------------------------------------------------------void split(const std::string& src){ stringstream ss; ss << src; while (!ss.eof()) { std::string content; std::getline(ss, content, '|'); std::cout <<... 阅读全文
posted @ 2011-03-20 17:05 撬棍 阅读(398) 评论(0) 推荐(0) 编辑