Thread safe random numbers
<p>I tried to implement "Monte Carlo" algorithm in parallel manner, so I need to use a thread safe version of a random number generator.<br>
I searched a lot and finally found 
<code>int qrand ()</code>
which is a Thread-safe version of the standard C++ <code>rand()</code> function, (defined in <code>&lt;cstdlib&gt;</code> and <code>&lt;stdlib.h&gt;</code>). When I use it, VS fired "identifier not found" error. </p>

<p>I use MS visual studio'10 and wrote my code in C++ using OMP.</p>

<p>Any help?</p>
