01.
Learning boost sp 2 -- regex语法规范(翻译)Learning boost sp 2regex语法规范(翻译) 这部分包含了boost.regex库的正则表达式的语法。这是一份程序员指南,实际的语法由在程序中的正则表达式的选项决定。(译注:即regex类构造函数的flag参数。) 文字(Lite...查看完整版>>
Learning boost sp 2 -- regex语法规范(翻译)
02.
Learning boost 7--regex 2Learning boost 7regex 2在的learning boost 中,我们已经说完了regex中的三个模板类,这一篇我们要来使用这些类。我们通过三个算法来使用正则式,regex_match、regex_search、regex_replace。regex_matchregex_matc...查看完整版>>
Learning boost 7--regex 2
03.
Learning boost 6--Regex 1Learning boost 6Regex 1概述模板类:l basic_regex 用来保存一个“正则表达式”的类。l sub_match 继承于pair<Iterator,Iterator>迭代器组,用来表示匹配的一...查看完整版>>
Learning boost 6--Regex 1
04.
Simple-view C++_boost_regex正则表达式在处理文本的时候有着十分强的优势。如果你熟悉linux的工作环境,如果经常使用比如grep ,sedperl或者emacs,vi你便知道regex在作用作用,可以大大提高工作效率。很多语言都提供了对正则表达式的支持,比如...查看完整版>>
Simple-view C++_boost_regex
05.
Learning boost 3 -- string algorithm 1Learning boost 3string algorithm 1简介string algorithm是boost中提供字符串算法的类库。在这里,字符串不一定是std::basic_string,也可以是其它的stl容器或是c++中的零结尾字符串char*。例:std::string str("He...查看完整版>>
Learning boost 3 -- string algorithm 1
06.
Learning boost 5 -- Smart ptrLearning boost 5Smart ptrBoost中提供的5类智能指针。分别是:l scoped_ptr 独占的指针l scoped_array 独占的数组l shared_ptr 引用计数指针l sha...查看完整版>>
Learning boost 5 -- Smart ptr
07.
Learning boost 4 Tuple and refLearning boost 4Tuple and refTupleBoost::tuple是类似于std::pair的一个类。Pair有且只能有两个成员(first和second),而tuple的元素可以是0-10个。使用tuple要包含boost/tuple/tuple.hpp文件。例如:#include<...查看完整版>>
Learning boost 4 Tuple and ref
08.
Learning boost 2 ArrayLearning boost 2Array简介boost::array是一个对c++数组的包装类。和stl::vector不同的是array和c++数组一样是一个静态大小的容器。请看下面的一个例子:#include<boost/array.hpp> #include<iostream> ...查看完整版>>
Learning boost 2 Array
09.
Learning boost (1) SerializationLearning boost (1)Serialization简单的开始Serialization的中文解释是“串行化” 、“序列化”或者“持久化” ,就是将内存中的对象保存到磁盘中,等到程序再次运行的时候再读取磁盘...查看完整版>>
Learning boost (1) Serialization
10.
用Boost.regex库进行网页分析源代码(批量下载篇)经过今天时间对bnoost的学习,特别是对regex 库的熟悉,完成了批量下载的boost.regex版(此前还有字符匹配+线程类版本,shell版本),功能很强,但如果需要完成具体任务,需要添加不少控制代码(此处略,可能以后会...查看完整版>>
用Boost.regex库进行网页分析源代码(批量下载篇)
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。