<div dir="ltr">Respected Sir,<div><br></div><div style>I am a user of your bigint library. I encounter an error when I use your library in the following way :</div><div style><br></div><div style>[<b>code - fragment</b>]</div>
<div style><br></div><div style><font face="courier new, monospace">BigInteger h=0;</font></div><div style><font face="courier new, monospace">ifstream indat("input.dat",ios::in);</font></div><div style><font face="courier new, monospace">indat>>h;</font></div>
<div style><br></div><div style>[<b>end code - fragment</b>]</div><div style><br></div><div style>The above code fragment is erroneous with respect to C++. My compiler shows the following error when I execute the above code :</div>
<div style><br></div><div style><div><span class="" style="white-space:pre"> </span><span class="" style="white-space:pre"> </span><b><font size="1" color="#ff0000">IntelliSense: no operator ">>" matches these operands</font></b></div>
<div><b><font size="1" color="#ff0000"> operand types are: std::ifstream >> BigInteger.<span class="" style="white-space:pre"> </span></font></b></div></div><div style><br></div><div style>
I am not really sure whether this is the correct method with which I should have used your library with ifstream. </div><div style><br></div><div style><br></div><div style>If possible , please inform if there are any changes I have to make in the code so as to make it work.</div>
<div style><br></div><div style>Regards,</div><div style><br></div><div style>- U.Anantha Krishnan</div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style><br></div></div>