I tried to implement "Monte Carlo" algorithm in parallel manner, so I need to use a thread safe version of a random number generator.
I searched a lot and finally found
int qrand ()
which is a Thread-safe version of the standard C++ rand() function, (defined in <cstdlib> and <stdlib.h>). When I use it, VS fired "identifier not found" error.
I use MS visual studio'10 and wrote my code in C++ using OMP.
Any help?