Overloaded Types Mismatch
<p>How does overloading work in C++?  I defined two overloaded functions one takes a float and the other takes an integer:</p>

<pre><code>void myFunc(float a) { ... }
void myFunc(int a) { ... }
</code></pre>

<p>BUT I cannot use the int version whenever I try to pass an integer the compiler panic about an ambiguous call.  I only can use the float version.  Weird?</p>

<p>Thanks.</p>
