https://dl.bintray.com/boostorg/release/1.68.0/binaries/

boost_1_55_0b1是纯净的源码,需要用户自己编译;

boost_1_55_0-msvc-12.0-64.exe是VS2010已编译的,含源码和编译生成的库。直接下载后者就可以

boost标准库开发环境搭建[VS2013]

boost标准库开发环境搭建[VS2013]

boost标准库开发环境搭建[VS2013]

boost标准库开发环境搭建[VS2013]

boost标准库开发环境搭建[VS2013]

boost标准库开发环境搭建[VS2013]

boost标准库开发环境搭建[VS2013]

#include <iostream>

#include <stdlib.h>

#include <boost\lexical_cast.hpp>

using namespace std;

void main()

{

       cout << "hello world" << endl;

       int i = 8848;

       char *mystr = "2013";

       i = boost::lexical_cast<int>(mystr);

       cout << i << endl;   //2013

       system("pause");

}

测试项目是否能正常运行

相关文章: