hi
i just begun using crypto++, i am trying to print Integer to the screen using the operator << and get this error
error C2678: binary '<<' : no operator defined which takes a left-hand operand of type 'class ostream_withassign' (or there is no acceptable conversion)
the code


#include <iostream.h>
#include <integer.h>
int main()
{
        CryptoPP::Integer a(10), b(20),c ;
        c = a + b ;
        cout << c << endl;
        return 0;
}
if anyone could tell me how to output integer to stdout

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail




Reply via email to