Problems with srand()

I'm using Dev C++ 4.9.9.2 to do c++ programming on my computer (windows 7). It looks like srand() is not working properly. No matter what numbers I seed srand() with I still get the same sequence of random numbers (using rand()). srand() works fine on computers with windows xp.

Please help me to solve this problem.
Only call srand once at the beginning of main().
I have done that, but I still get the same sequence of numbers.
Can you show some code?
Are you definitely not calling srand with the same input parameter every time? Really, really definitely?

I'm using Dev C++ 4.9.9.2

That's a terrible, terrible choice. Please stop.
Last edited on
I know what the problem is. Thanks for your help. :)
Topic archived. No new replies allowed.