![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BOOST学习笔记
苒止
这个作者很懒,什么都没留下…
展开
-
【BOOST学习】BOOST安装
下载BOOST库 从www.boost.org下载BOOST库最新版本,截止我下载的时候,BOOST最新版本为1.55.0,分为unix和windows俩个版本,我用的是windows版本 2、安装 下载后解压,在解压后的boost文件夹根目录下,运行bootstrap.bat。 等待批处理完成,生成若干新文件,如果你本地装有多个版本的vc,默认安装会使用最高版本的VC,如果想修改原创 2014-02-21 09:44:48 · 582 阅读 · 0 评论 -
Boost学习之Timer库
//Timer类#include "stdafx.h" #include #include #include using namespace boost; using namespace std; int _tmain(int argc, _TCHAR* argv[]) { timer t; //最大计数单位*s cout<< "time max:"<< t.elapsed_max()/3原创 2014-03-04 09:37:46 · 460 阅读 · 0 评论 -
Boost之Smart_ptr库
//智能指针应用于桥接模式的例子// smart_ptr.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include "Sample.h" int _tmain(int argc, _TCHAR* argv[]) { CSample sample; sample.Print(); system("pau原创 2014-03-04 10:47:58 · 538 阅读 · 0 评论