boost — c++ libraries

What’s this?

Boost pro­vides free peer-reviewed portable C++ source libraries. In a word, Pro­duc­tiv­i­ty. Use of high-qual­i­ty libraries like Boost speeds ini­tial devel­op­ment, results in few­er bugs, reduces rein­ven­tion-of-the-wheel, and cuts long-term main­te­nance costs. And since Boost libraries tend to become de fac­to or de jure stan­dards, many pro­gram­mers are already famil­iar with them.

How to install?

http://www.linuxfromscratch.org/blfs/view/svn/general/boost.html   Boost

配置/使用方法:

1.下载.tar.gz源代码

2../bootstrap.sh; ./b2 –j12 install –prefix=/path/to/your/directory (link=shared)

3.头文件:include“绝对路径”

4.库文件:-L –l指定;

5.编译:gcc/g++ –L/path/to/your/directory/lib –lxxx a.cpp –o a

Leave a Reply

Your email address will not be published. Required fields are marked *