Hi to all.
I need help. Quick and easy question. Is it possible to randomize and than delate stream of character pairs(one by one) from the input file? How can I do that?
The input is a stream of character pairs that represent playing cards. For example: 2C, 3H, JH...
What I would like to do is randomize the deck then pick first card in the file and put into new array, and then delate that card from the deck. Then randomize again the deck,take the another first card from the deck, place in the new array, and delating from deck ,and so on untill there will be no more cards in the deck.
Is it possible? If yes how could I do that?