Originally Posted by
exiledgolem
THanks again for your help, I didn't know the bloodshed IDE was out of date...
I'll come back if I have any questions, I'm going to try to rework most the algorithms
to include some of your suggestions, but instead of making a stuct of card
like stuct card
{
int suit;
int value;
}
why not do something like
int IsEqualTo (int value, int suit)
{
return (Suit * Value)
}
if (1-13 enumeration for the cards)(1-4 enumeration for the suits 1)
idk.. just a new idea... it'll definately be more readable.. if (Hand[i] == IsEqualTo(ACE, HEARTS))
I still wouldn't get the point for creating a struct like that..
I do love your idea though about the struct for the points..
definately save me some time.
thanks again though for the ideas... I'll come back a new version soon..