Thread: Black Jack woes
View Single Post
Old 02-26-2003, 04:02 PM   #3 (permalink)
ShadowSoft
Registered User
 
ShadowSoft's Avatar
 
Join Date: Feb 2003
Location: NJ
Posts: 7
ShadowSoft is on a distinguished road
Send a message via AIM to ShadowSoft
Talking

yes.
and thank you for helping. Who would have known that my problem was so stupid.

Around line 50ish in my if h statement i realized that I forgot to tell the program to repeat the hit function if the value was less than 21. Instead the program saw that u was less than 21 and it reenacted the entire while loop.

:o I feel so embarased. Such a stupid mistake but thanks anyway....this code needs lots of work i was thinking about putting all the dealing and that into one or two functions to clear up main more?
ShadowSoft is offline   Reply With Quote