Perhaps somebody here knows how to do this. I tried:
srand((unsigned)time(0));
r= rand()%201;
I am trying to simulate biased coin distributions for various betting strategies. So I ran a 1 million bet simulation 500 times. It is apparently using the same sequence of random numbers every time. When I manually stop it and then run another simulation I get new results. But any time I try to set it up to do numerous repeats I just get duplicates.
I have not done programming since Qbasic, obviously a long time ago. How do I get it to start a new string of random numbers each time it loops. When N=1,000,000 or any other designated number I want it to record the result and start over to do another million bet sim.
The answers I found when using google were kind of confusing. Any suggestions? Or is C++ also now an antique?

