[TxMt] Re: boost library

Thor Erik Lie thorerik.lie at gmail.com
Sat Oct 15 18:27:26 UTC 2011


Just make sure it's in Textmate's path (configured in the preferences), then
it should work like a charm :)

Best regards
Thor

lørdag 15. oktober 2011 skrev Andre de Boer følgende:

> Hello,
>
> How can I include the boost library in a c++ program with TextMate?
> So I can run programs like using TextMate.
>
> #include <boost/lambda/lambda.hpp>
> #include <iostream>
> #include <iterator>
> #include <algorithm>
>
> int main()
> {
>    using namespace boost::lambda;
>    typedef std::istream_iterator<int> in;
>
>    std::for_each(
>        in(std::cin), in(), std::cout << (_1 * 3) << " " );
> }
>
>
> Thanks for the reaction,
> Andre
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com <javascript:;>
> http://lists.macromates.com/listinfo/textmate
>


-- 
Best regards / Med vennlig hilsen
Thor Erik Lie
+47 976 20 928
http://thorerik.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20111015/acd384fe/attachment.html>


More information about the textmate mailing list