Boost logo

Boost Users :

From: anil kumar (anil26_prodigy_at_[hidden])
Date: 2008-07-23 04:31:32


Hi All,

Please help me out I am new to boost C++. I tried out this code

#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 << (boost::lambda::_1 * 3) << " "
        );
}

I am using Visual studio 6.0 VC++ it shows an error i have included the additional directory and other things as explained in the boost intro tutorial still getting an error. it says
c:\program files\boost\boost_1_35_0\boost\lambda\detail\lambda_fwd.hpp(26) : fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 1794)
         Please choose the Technical Support command on the Visual C++

How to solve this i hope some one will help why this internal error occurs and what i need to do?.

Anil

_________________________________________________________________
Missed your favourite programme? Stop surfing TV channels and start planning your weekend TV viewing with our comprehensive TV Listing
http://entertainment.in.msn.com/TV/TVListing.aspx



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net