What does this mean? I'm aware that this should be the constructor for an instance in the Deck class, but I don't understand the syntax myCards(DECKSIZE), debugging(debug)
after Deck(bool debug)
?
Deck::Deck (bool debug): myCards(DECKSIZE), debugging(debug) {
for (int k=0; k<DECKSIZE; k++) {
myCards[k].ChangeCard(k);
}
Shuffle ();
}
Thanks for helping.