Reputation: 343
I download the STL library to do some test with it, but the folder does not have a "configure, make, make install " files. How can i add it to bin? So i can use always
#include <vector.h>
instead of
#include "vector.h"
and add the STL folder in all my project.
Upvotes: 3
Views: 6152
Reputation: 76785
If you install a C++ compiler it will ship with a C++ Standard Library implementation with includes the STL (STLPort?) you're talking about.
XCode and also macports gcc include this. You should not be setting this up like you are now.
Also note that the Standard library headers do not have a .h
suffix. So you need
#include <vector>
Upvotes: 2