下载boost最新库
安装:
1、打开vs2005在菜单tools中选择Visual Studio 2005 Command
Prompt,打开已配置好环境的命令行。
2、进入目录boost_1_34_1/libs/regex/build,
编译文件:nmake
-f vc8.mak
安装(将编译好的文件复制到vs2005的特定目录下):nmake -f vc8.mak
install
删除临时文件:nmake -f vc8.mak clean
3、Tools->Options->Projects
and Solutions->VC++ Directories->Include files添加boost_1_34_1路径
在vs2005中编写如下代码
在提示下输入
enter test string
select name from table
得到如下结果,具体为什么自己认真分析
str :select name from table
str
:name
str :table
转载请标明出处:http://jinyun2012.blog.sohu.com/155691639.html
本文介绍了如何在VS2005环境下安装并使用Boost库中的正则表达式组件。通过具体的步骤指导读者完成Boost库的下载、安装及配置,并提供了一个简单的示例程序来展示Boost正则表达式的用法。
604

被折叠的 条评论
为什么被折叠?



