Random selection from 2D array without repetition
I'm using CPP to make a blackjack game, but I'm stuck on how to randomly
pick an element from my [4][13] array without repeating it and without
shuffling the order of the array. Working in VisualStudio. So far I can
only find answers for how to do this with a 1-D array. Anybody out there
have suggestions?
No comments:
Post a Comment