Boost
文章平均质量分 52
游无穷
学而不思则罔 思而不学则殆
展开
-
Boost入门01(下载、编译、使用cmake引入)
文章目录Boost 下载Boost 编译1. 打开vs2015 x86命令行2. 生成编译工具3. 开始编译bjam参数说明使用CMake 引入Boost 下载历史版本链接(选择自己需要版本的boost)Boost 编译1. 打开vs2015 x86命令行2. 生成编译工具进入boost目录下,并执行bat文件,生成b2.exe和bjam.exe3. 开始编译执行: bjam install --prefix="D:\rhett\lib\boost_1_64_0\vs2015" --原创 2022-01-12 15:48:20 · 1826 阅读 · 0 评论 -
Boost 入门02(字符串操作)
字符串操作使用boost库进行字符串的操作,主要通过引入<boost/algorithm/string.hpp>,来提供操作支持。字符串切割boost::algorithm::split()#include <boost/algorithm/string.hpp>#include <string>#include <vector>#include <iostream>using namespace boost::algorithm;原创 2022-01-19 13:48:42 · 970 阅读 · 0 评论