i have truied what you said and still this is what i get:
RandCardDraw.o - the object file
mingw32-g++.exe -LC:\Programs\programing\CodeBlocks\lib -o C:\workspace\GameCard.exe .objs\RandCardDraw.o .objs\LabCTo21.o
.objs\LabCTo21.o:LabCTo21.c:(.text+0x114): undefined reference to `InitializeCards'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)