boost C++ Lib - How do you use install it? [solved]

Started by
10 comments, last by jyujinkai 18 years, 4 months ago
Quote:Original post by jyujinkai
@AzCoder - Ok everything seamed to work correctly.... when I added the directory to VC2005, I chose the root of the unarchived pack... is that correct?


No, look under C:\Boost (IIRC. I myself send it somewhere else). You want C:\Boost\include\boost-1_33_1 and C:\Boost\lib.

Quote:Also once it isinstalled do I use
#include <boost>


No. There is no boost header. There are a number of header files under the boost directory, which means you need to use, for example, #include <boost/shared_ptr.hpp>.

Quote:using namespace boost;


As necessary.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
Thanks a lot guys.. cheers!!! It is working now.
There is nothing able to be imagined by one man that can not be achieved by many - Jules Verne

This topic is closed to new replies.

Advertisement