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

Username:   Password: 
 RegisterRegister   
 need blackjack adding
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kit-kat-kid




PostPosted: Sat Jul 10, 2004 4:28 pm   Post subject: need blackjack adding

i need help with the adding for my blackjackgame


finalproject4.zip
 Description:

Download
 Filename:  finalproject4.zip
 Filesize:  1.86 KB
 Downloaded:  134 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Mazer




PostPosted: Sat Jul 10, 2004 4:37 pm   Post subject: (No subject)

Few things:
1) There's really no point in zipping something if it's just a single turing file, or did you forget to attach some pics?
2) Please be more specific about what help you need. Maybe post a few lines of code or something that you need fixed.
3) Some code problems:
code:

if playerdeck =37 and =50 then

playerdeck is an array, so you have to specify an element of the array to compare, ie, playerdeck (x). Also, programming isn't like English where you can make multiple comparisons and assume they involve a mutual item. Meaning, the line should be
code:

if playerdeck(x) = 37 and playerdeck (x) = 50 then

Keep in mind, this is also wrong. Or at least, it's pointless since a single variable can't have two different values.

I won't go over the other errors since they simply involve undeclared variables except for the 'end for' line which should be 'end if'.
kit-kat-kid




PostPosted: Sat Jul 10, 2004 4:54 pm   Post subject: (No subject)

well thanks anyway ill try to fix it all up thanks for the info
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  [ 3 Posts ]
Jump to:   


Style:  
Search: