VS2010中使用boost正则表达式库

1.下载boost库。http://www.boost.org/ 我下载的是boost_1_51_0版本。放在D:\opensource\boost_1_51_0。c++

2.编译boost库。正则表达式

    执行D:\opensource\boost_1_51_0目录下的bootstrap.bat。bootstrap

    接下来打开cmd,进入D:\opensource\boost_1_51_0目录,执行下面的命令:工具

    bjam --toolset=msvc-10.0 --prefix=D:\opensource\boost_1_51_0\BoostLibAndDll --build-type=complete install测试

3.包含到visual studio 2010中。ui

打开VS2010 选择 工具->选项->vc++目录spa

      设置包含文件目录D:\opensource\boost_1_51_0\BoostLibAndDll\include\boost-1_51get

      设置库文件目录:D:\opensource\boost_1_51_0\BoostlibAndDll\libcmd

4.boost正则表达式库简介。io

5.boost正则表达式库的测试及使用。

相关文章
相关标签/搜索