[bigint] Error using ifstream.

ectech <uak87tech at gmail.com>
Fri Jun 28 21:53:38 PDT 2013


Respected Sir,

I am a user of your bigint library. I encounter  an error when I use your
library in the following way :

[*code - fragment*]

BigInteger h=0;
ifstream indat("input.dat",ios::in);
indat>>h;

[*end code - fragment*]

The above code fragment is erroneous with respect to C++. My compiler shows
the following error when I execute the above code :

 *IntelliSense: no operator ">>" matches these operands*
*                              operand types are: std::ifstream >>
BigInteger. *

I am not really sure whether this is the correct method with which I should
have used your library with ifstream.


If possible , please inform if there are any changes I have to make in the
code so as to make it work.

Regards,

- U.Anantha Krishnan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mattmccutchen.net/mailman/archives/bigint/attachments/20130629/a0eaf49e/attachment.html>


More information about the bigint mailing list