My assignment is to make a program that can perform a card trick. You may be familiar with the concept of the trick, but here is a video link from my instructor.
It is a fairly long program, but everything works as planned EXCEPT for my "PickUp" function, which is supposed to pickup the cards column by column. The user selected column must ALWAYS be picked up second and the order of the other two doesn't matter.
The program works at this point, but my issue is that for some reason if you select column 1 or column 2 the "King of Clubs" (which has a int value of 0) will always be the first card picked up... even if it is not one of the 21 cards in play. Maybe one of you will have some insight?
I have attached my source code as a link since it is almost 400 lines long. I figured this was a better way to post it instead of just wrapping code tags around it. Please don't flame me if this is bad manors :P