We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b363137 commit 00ed937Copy full SHA for 00ed937
Chapter16/carddeck_3.c
@@ -22,12 +22,8 @@
22
// of literals; when you need to change these, they are applied
23
// everywhere.
24
//
25
-/*
26
- * correction: in text these were declared as
27
- * const int <name>
28
- * but on some compilers this will cause compilation to fail when
29
- * these values are used in array declarations.
30
- */
+ // These must be enums because we'll use them in array declarations.
+ //
31
enum {
32
kCardsInDeck = 52, // For now, 52 cards in a deck. This will change
33
// depending upon the card game and the # of wild
0 commit comments