Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 black jack help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
canusa




PostPosted: Tue Oct 12, 2004 6:42 pm   Post subject: black jack help

heys guys i really need help to finish this any help would be very appreciated


finalproject3.t
 Description:

Download
 Filename:  finalproject3.t
 Filesize:  13.37 KB
 Downloaded:  146 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Genesis




PostPosted: Tue Oct 12, 2004 7:07 pm   Post subject: (No subject)

Do you have a specific problem? No one here is going to do your work for you.

In the code you posted all you can do is click radio buttons and it displays colored circles. (Or am I missing something?)
wtd




PostPosted: Tue Oct 12, 2004 7:22 pm   Post subject: (No subject)

You have lengthy if...elsif...else statements. You'd be better off replacing them with a case structure. Not quite sure how such works in Turing, but an example in Ada95 (which often looks similar):

code:
case playerdeck(playerdeckcard) is
   when 1 => Pic.ScreenLoad ("clubsace.bmp", 230, 0, picCopy);
   when 2 => Pic.ScreenLoad ("clubs2.bmp", 230, 0, picCopy);
   -- ...
end case;
canusa




PostPosted: Thu Oct 14, 2004 4:59 pm   Post subject: (No subject)

i got rid of those radio buttons no clue y i put them in, thanks for telling me about the case stuff its appreciated, im working on the betting system right now, but the one thing that i cant get to work which i have down already is not all the cards show up
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: