Really? You got that code to compile?
Code:
gcc -Wall -Wextra gloworm.c
gloworm.c:18: warning: missing braces around initializer
gloworm.c:18: warning: (near initialization for ‘faceName[0]’)
gloworm.c:20: warning: missing braces around initializer
gloworm.c:20: warning: (near initialization for ‘suitName[0]’)
gloworm.c: In function ‘shuffleDeck’:
gloworm.c:35: warning: unused variable ‘j’
gloworm.c: In function ‘main’:
gloworm.c:56: warning: left-hand operand of comma expression has no effect
gloworm.c:56: warning: statement with no effect
gloworm.c:57: warning: left-hand operand of comma expression has no effect
gloworm.c:57: warning: value computed is not used
gloworm.c:86: warning: implicit declaration of function ‘sumCards’
gloworm.c:88: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
gloworm.c:88: warning: too few arguments for format
gloworm.c:88: warning: operation on ‘numCards’ may be undefined
gloworm.c:81: warning: unused variable ‘numCardsDealer’
/tmp/ccTM92Je.o: In function `main':
gloworm.c:(.text+0x4af): undefined reference to `sumCards'
gloworm.c:(.text+0x4da): undefined reference to `sumCards'
collect2: ld returned 1 exit status