![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 1655 阅读 · 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 · 577 阅读 · 0 评论