
boost
sandro_zhang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
boost regex正则区配 IP 地址
#include #include #include int main(){ std::string text(" 192.168.0.1 abc 10.0.0.255 10.5.1 1.2.3.4a 5.4.3.2 "); const char* pa转载 2011-09-21 15:57:41 · 1719 阅读 · 0 评论 -
boost 分割字符串并存入集合(类似php中的EXPLODE)
string teststr = "1,2,3,4,5";boost::char_separator separator(",");boost::tokenizer > tokens(teststr, separator);boost::tokenizer >::itera原创 2011-09-29 16:00:58 · 608 阅读 · 0 评论