![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习boost
kese
白天写代码,晚上研究股市
展开
-
学习boost之format
代码绝大部分来自boost自带的文档,我只是用来研究boostformat_1.cpp#include #include #include #include "boost/format.hpp"// 2 custom namespaces, to bring in a few useful names :namespace MyNS_ForOutput { using std::cout; us原创 2007-06-20 16:50:00 · 1387 阅读 · 0 评论 -
学习boostz之iostreams
这里的代码来自boost自带的帮助文档,我放到这里用来写一些我的体会iostreams库的作用非常大,根据帮助文档上说,可以压缩和解压缩文档,可以用来网络通讯,说不定还有许多我们没有想到的东东。iostreams_1.cpp用来展示iostream的一些非常简单的用法iostreams_1.cpp#include #include #include namespace io = boost::io原创 2007-06-20 17:14:00 · 2153 阅读 · 0 评论 -
学习boost之filesystem
学习boost之filesystemboost的filesystem也是需要编译的,当然也可以独立编译出来,虽然我没有做这个试验,我也还是写一天语句给那些专门想试验filesystem功能的人试试:bjam --toolset=gcc --with-filesystem stage先看一看boost自带的一个文件,大家看看就可以明白filesystem是怎么用的// simple_ls pro原创 2007-07-18 08:29:00 · 5100 阅读 · 0 评论 -
这两天硬盘坏了,boost的东西暂时搞不了
这两天硬盘坏了,boost的东西暂时搞不了我的eclipse就在这个硬盘,要修复这个硬盘要点时间,我在这段时间看了LL分析器pirit,我觉得这个东西也比较好,准备写点东西。原创 2007-07-30 08:44:00 · 803 阅读 · 0 评论 -
学习boost之lexical_cast
这里的代码来自boost自带的帮助文档,我只做了少量的修改,将其连接起来lexical_1.cpp#include #include #include #include #include int main(int argc,char* argv[]){ using boost::lexical_cast; using boost::bad_lexical_cast; st原创 2007-06-20 08:55:00 · 987 阅读 · 0 评论 -
学习boost的一些我的体会
我以前也学习过一些boost的东西,主要是any,shared_ptr觉得非常不错,lambd表达式由于编译器不支持所以没有用起来。为了在c++方面取得更多的成绩,我决定从头开始学习boost,但是boost非常庞大,我决定按照boost自带的帮助文档列出来的目录来学习。有些库需要编译,我将会学习这个库的时候再编译,节省开始学习时的难度和提高学习速度。下面我将会列出学习的清单Libraries L原创 2007-06-20 09:15:00 · 2680 阅读 · 0 评论