Thanks for reading...
the below code works fine (not the most efficient, i am new to c++), but as soon as one of the lines containing "cout" is removed, the calculation for those variables are all wrong ! Can someone point me to the right 'bug' ?
Thanks
//============================================================================
// Name : game2.cpp
// Author : nmn
// Version :
// Copyright : Your copyright notice
// Description : Card in C++, Ansi-style
//============================================================================
int main() {
srand((unsigned)time(NULL));
Deck cardDeck; // get a deck of card.
Hand currentHand; // create a hand of 5 cards.
float pairPercentage;
float flushPercentage;
int pair;
int flush;
float totalPairPercentage;
float totalFlushPercentage;