View Single Post
Old Oct 31st, 2005, 8:55 AM   #8
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
This may sound a bt newbie-ish, but here goes:

If i was to make the cards into objects, how would i make a list containing each card?

Because i'm not sure how to make an instance of an object from the code without typing out each card, which would mean 52 lines of code just to set up the pack.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote