We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a2f276 commit 80faaafCopy full SHA for 80faaaf
Chapter16/carddeck_1a.c
@@ -22,11 +22,13 @@
22
// of literals; when you need to change these, they are applied
23
// everywhere.
24
//
25
-const int kCardsInDeck = 52; // For now, 52 cards in a deck. This will change
26
- // depending upon the card game and the # of wild
27
- // cards, etc.
28
-const int kCardsInSuit = 13; // For now, kCardsInDeck / 4. This will change
29
- // depending upon the card game.
+enum {
+ kCardsInDeck = 52, // For now, 52 cards in a deck. This will change
+ // depending upon the card game and the # of wild
+ // cards, etc.
+ kCardsInSuit = 13 // For now, kCardsInDeck / 4. This will change
30
+ // depending upon the card game.
31
+};
32
33
const bool kWildCard = true;
34
const bool kNotWildCard = false;
0 commit comments