I am making a blackjack game in SDL, it's still a work in progress. When I ask to 'hit' me with a card most of the time it works, but sometimes the program just quits. Could someone please take a look at my code:
http://users.telenet.be/darkownage/code.txt