VS2005使用boost库教程

本文档详细介绍了在Visual Studio 2005中使用Boost库的步骤,包括下载Boost库,理解Boost目录结构,设置包含路径,以及编译和链接独立编译的库如Boost.Regex。通过示例展示了如何在项目中引入Boost库并编写测试代码以验证安装是否成功。
摘要由CSDN通过智能技术生成

今天弄了一天,总结一下。

(1)Boost的下载

Boost库的下载,官网(www.boost.org),其中在windows下的安装教程网址在http://www.boost.org/doc/libs/1_48_0/more/getting_started/windows.html#vs-header-only

(2)需要注意的问题

It's important to note the following:

a. The path to the boost rootDirectory (often C:\Program Files\boost\boost_1_48_0) issometimes referred to as $BOOST_ROOT in documentation and mailinglists .

b. To compile anything in Boost, you need a directory containingthe boost\ subdirectory in your #include path. Specificsteps for setting up #include paths in Microsoft Visual Studio followlater in this document; if you use another IDE, please consult your product'sdocumentation for instructions.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值