|
-
February 24th, 2009, 11:12 AM
#3
Re: Multiple Random Sequences
Why regenerate the numbers? Just create a vector or list. Initialize it with the cards. Call random_shuffle to generate a random sequence. Each time you deal, just start at a different point in the array or list and wrap around to the beginning when you reach the end, or if you use a list, just remove the head, make it the new tail, then redeal.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|