[Solved] Random generation of numbers? [closed]
Edit: Original supposition on the problem completely wrong. The cause of you getting all zeros is that the state is not seeded. You need to fill state with something ‘random’. This code work. Note that the function seed() is in absolutely no way scientifically proven to be good – in fact, I just made it … Read more