Unresolved external symbol in c++
<pre><code>#include &lt;iostream&gt;
#include &lt;cstdlib&gt;
using std::cout;
using std::endl;
using std::rand;
int man(){


    int t=rand();
    cout&lt;&lt;t&lt;&lt;endl;


     return 0;
}
</code></pre>

<p>here is code    for generate random number in c++ and i have mistake</p>

<pre><code>1&gt;c:\users\david\documents\visual studio 2010\Projects\random_function\Debug\random_function.exe : fatal error LNK1120: 1 unresolved externals
</code></pre>

<p>please help</p>
