468,321 Members | 1,825 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

The right way to include Boost library.

Hi.

I just downloaded boost library from boost.org then build and I don't
know what does binary precompiled means.

Well, I have installed it and I using bloodshed Dev-Cpp compiler.

<bThen, I opened the boost_1_34_1 folder and then I copy the boost.
</b>

<b>The boost library I paste it at C:\Dev-Cpp\include\boost</b>

Then I try some of code that required coding and then it just works!
example:
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/io.hpp>

using namespace boost::numeric::ublas;

/* "y = Ax" example */
int main ()
{
vector<doublex (2);
x(0) = 1; x(1) = 2;

matrix<doubleA(2,2);
A(0,0) = 0; A(0,1) = 1;
A(1,0) = 2; A(1,1) = 3;

vector<doubley = prod(A, x);

std::cout << y << std::endl;
system("PAUSE");
return 0;
}
well, my question is, is what am I doing is right?
or is there any better solution?
and I don't really know the gcc+ %% .. -- // o- l- thing lol ^_^

I use windows home, bloodshed devcpp.
Dec 7 '07 #1
1 2686
ku*******@gmail.com wrote:
I just downloaded boost library from boost.org then build and I don't
know what does binary precompiled means.

Well, I have installed it and [..]

well, my question is, is what am I doing is right?
or is there any better solution?
and I don't really know the gcc+ %% .. -- // o- l- thing lol ^_^

I use windows home, bloodshed devcpp.
Did you not know that Boost has its own online discussion forums?
Installation of products (however closely related to C++) is OT here.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Dec 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Richard Latter | last post: by
205 posts views Thread by Jeremy Siek | last post: by
16 posts views Thread by Jeff Flinn | last post: by
4 posts views Thread by Steven T. Hatton | last post: by
25 posts views Thread by Protoman | last post: by
2 posts views Thread by soren.andersen | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.