在 windows 下安装 Boost 1.62.0

目录获得Boost解压Boost仅需头文件的库用Boost跑一个程序用 Visual Studio IDE 来运行使用需要安装的Boost库函数使用需要安装的Boost库函数跑一个程序用 Visual Studio IDE 来运行运行这个程序参考网站1. 获得Boost进入Boost的网站(http://www.boost.org/) 下载boost_1_62_0.zip2.
摘要由CSDN通过智能技术生成

目录

1. 获得Boost

进入Boost的网站(http://www.boost.org/) 下载boost_1_62_0.zip

2. 解压Boost

解压 boost_1_62_0.zip ,比如解压到 D:\Program Files\boost\boost_1_62_0

3. 仅需头文件的库

许多人会问:“我该如何安装Boost库?” 实际上,常使用的boost库函数是不需要安装的。

无需安装的库函数如下:
- Boost.Chrono
- Boost.Context
- Boost.Filesystem
- Boost.GraphParallel
- Boost.IOStreams
- Boost.Locale
- Boost.MPI
- Boost.ProgramOptions
- Boost.Python (see the Boost.Python build documentation before building and installing it)
- Boost.Regex
- Boost.Serialization
- Boost.Signals
- Boost.System
- Boost.Thread
- Boost.Timer
- Boost.Wave

需要安装的库函数如下:
- Boost.DateTime
- Boost.Graph
- Boost.Random
- Boost.Exception

4. 用Boost跑一个程序

我们用无需安装的库函数来运行一个程序,code如下,命名为:example.cpp

#include <boost/lambda/lambda.hpp>
#include <iostream>
#include <iterator>
#include <algorithm>

int main()
{
    using namespace 
  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值