C++ compiler error: ambiguous call to overloaded function
<pre><code>string aux;
int maxy,auxx=0;

cin&gt;&gt;aux;

maxy= (int)sqrt(aux.size());
</code></pre>

<p>I'm geting: </p>

<pre><code>1&gt; error C2668: 'sqrt' : ambiguous call to overloaded function
1&gt;        could be 'long double sqrt(long double)'
1&gt;        or       'float sqrt(float)'
1&gt;        or       'double sqrt(double)'
</code></pre>

<p>Why?</p>
