Not a bad hand. :-)
#include
#include "Deck52.h"
int main (int argc, char * const argv[]) {
Deck52 bicycle;
bicycle.shuffle();
for(int i=0;i<6;i++){
std::cout << *(bicycle.draw()) << std::endl;
}
return 0;
}
Queen of Hearts
Ace of Hearts
Seven of Diamonds
Ace of Spades
Seven of Spades
Jack of Clubs
#include "Deck52.h"
int main (int argc, char * const argv[]) {
Deck52 bicycle;
bicycle.shuffle();
for(int i=0;i<6;i++){
std::cout << *(bicycle.draw()) << std::endl;
}
return 0;
}
Queen of Hearts
Ace of Hearts
Seven of Diamonds
Ace of Spades
Seven of Spades
Jack of Clubs