[TxMt] c++ library boost
Andre de Boer
aajd at xs4all.nl
Sun Feb 20 16:45:35 UTC 2011
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";
}
}
More information about the textmate
mailing list