Hello,
How can I include boost libraries with Textmate?
Thanks for the answer. André
// simple_example_1.cpp #include<iostream> #include<boost/tokenizer.hpp> #include<string>
int main(){ using namespace std; using namespace boost; string s = "This is, a test"; tokenizer<> tok(s); for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg){ cout << *beg << "\n"; } }
On Sun, Feb 20, 2011 at 11:45 AM, Andre de Boer aajd@xs4all.nl wrote:
Hello,
How can I include boost libraries with Textmate?
Thanks for the answer. André
// simple_example_1.cpp #include<iostream> #include<boost/tokenizer.hpp> #include<string>
int main(){ using namespace std; using namespace boost; string s = "This is, a test"; tokenizer<> tok(s); for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg){ cout << *beg << "\n"; } }
What does an editor like TextMate have to do with a C++ library? Don't you just want to specify it on your link or g++ invocation line?