![]() |
|||
Comments and Discussions
|
About Article
The question: "How can I extract 5 random cards from a deck?" (or similar), appears every now and then at the C/C++ forum.I use the following method:const int CARDS = 52;int card[CARDS]; // the 'card' array represents all of the cardsint i, deck_cards;// initializationfor (i=0;...
Top News
The Next Version of Android - Some of What's Coming Get the Insider News free each morning. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||