Search:

Type: Posts; User: mrcrossroads

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,051

    srand((unsigned)time(NULL));

    I can't believe it was as simple as that! Thank you both!

    I had srand((unsigned)time(NULL));, but it was in the Die class. Moving it to main() did the trick.
  2. Replies
    7
    Views
    1,051

    Output 3 random sets of 5

    I'm writting a Yahtzee program and so far it's going okay. Write now I'm trying to display 3 sets of random numbers. Each set is to have 5 numbers. Well, I have 3 sets displaying, but each set looks...
Results 1 to 2 of 2