[TxMt] Re: c++ library boost
Chris Patti
cpatti at gmail.com
Wed Feb 23 21:32:16 UTC 2011
On Sun, Feb 20, 2011 at 11:45 AM, Andre de Boer <aajd at 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?
--
Christopher Patti - Geek At Large | GTalk: cpatti at gmail.com | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar
More information about the textmate
mailing list