> Really? So I'll need a good PRNG. By mencioning it, you meant that I'd have to implement my own PRNG code?
What do you want it for?

stdlib.h rand() is good for student homework only

The main...