Davidprince
Programmer
Ladies and Gentlemen
I am looking at writing a program to emulate a card shuffling machine. What I know of the machine is that it uses a system whereby the cards are stacked into a slot. There are 53 of these slots. My question is, would it be more efficient to use stacks (clearly designed for the purpose) or to use arrays. I have looked at several sources on stacks (Kardi Teknomo's excellent short program and Getz and Gilbert's VBA Developer's Handbook, old now but with some good stuff in it) and there are a myriad of sources on arrays including Chip Pearson's website.
My concern with stacks (I haven't used them since doing assembley language way back when) is that I am unsure if you can set up Stack1, Stack2....Stack53 or if this will create a conflict.
Any advise appreciated.
Thanks
David
I am looking at writing a program to emulate a card shuffling machine. What I know of the machine is that it uses a system whereby the cards are stacked into a slot. There are 53 of these slots. My question is, would it be more efficient to use stacks (clearly designed for the purpose) or to use arrays. I have looked at several sources on stacks (Kardi Teknomo's excellent short program and Getz and Gilbert's VBA Developer's Handbook, old now but with some good stuff in it) and there are a myriad of sources on arrays including Chip Pearson's website.
My concern with stacks (I haven't used them since doing assembley language way back when) is that I am unsure if you can set up Stack1, Stack2....Stack53 or if this will create a conflict.
Any advise appreciated.
Thanks
David