in reply to Can I seed srand() with results from rand()?

When I'm debugging something that I want to have pseudorandom behavior in real life, I use srand() with a constant to make the results predictable during debugging. Once I'm satisfied that things are working properly, I chuck the srand() completely (5.6+) and let things go.
  • Comment on Re: Can I seed srand() with results from rand()?