That's what I was getting at. Sort of. Only you said it better. :)
Type: Posts; User: msh
That's what I was getting at. Sort of. Only you said it better. :)
Not that it is relevant for this case, but, logically, won't the randomness decrease as i approaches n?
Well. I'd shuffle cards by doing the following.
Each card is a structure (struct) that would contains its suit, rank and a variable to hold a random integer value. I would store the deck in an...