From charlesreid1

No edit summary
No edit summary
Line 2: Line 2:


http://www.boost.org/
http://www.boost.org/
=Starting With Boost=


Their "Getting Started" guide is a big help for figuring out how to use Boost libraries: http://www.boost.org/doc/libs/1_44_0/more/getting_started/index.html
Their "Getting Started" guide is a big help for figuring out how to use Boost libraries: http://www.boost.org/doc/libs/1_44_0/more/getting_started/index.html


To boil it down: Boost provides you with a whole bunch of functionality that is primarily provided through header files.  This makes the build process trivial (no compiling - just put the header files somewhere), and it makes the compiling process almost as easy (add a
Basically, Boost provides you with functionality provided primarily through header files.  This makes the build process trivial (no compiling - just put the header files somewhere), and it makes the compiling process almost as easy (add a


<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
Line 23: Line 25:




 
{{Programs}}
 
[[Category:Computers]]
[[Category:Programs]]

Revision as of 15:44, 28 May 2011

Boost is an awesome set of libraries that give you all the functionality you wish C++ had out-of-the-box, plus a whole lot of stuff you never knew you didn't have.

http://www.boost.org/

Starting With Boost

Their "Getting Started" guide is a big help for figuring out how to use Boost libraries: http://www.boost.org/doc/libs/1_44_0/more/getting_started/index.html

Basically, Boost provides you with functionality provided primarily through header files. This makes the build process trivial (no compiling - just put the header files somewhere), and it makes the compiling process almost as easy (add a

#include <boost/lambda/lambda.hpp>

to your code, and then add

-I/path/to/boost

to your compile line).

Alternatively, a list of Boost functionality that requires libraries and compilation (a small subset of Boost) is here: http://www.boost.org/doc/libs/1_44_0/more/getting_started/unix-variants.html#header-only-libraries