| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 
 | void PrintScoresAndHands(int ComputerHand[], const int ComputerCardCount, int PlayerHand[], const int PlayerCardCount, char Player[15], int &WhatNow, fstream wins, int Player1win&, int Player1lose&, int &Player1tie, int &Computerwin, int &Computerlose, int &Computertie); // Print ending score for single player
void mPrintScoresAndHands(int Player2Hand[], const int Player2CardCount, int PlayerHand[], const int PlayerCardCount, char Player[15], int &WhatNow, char Player2[15]); // Print ending score for two player
int main() {
	using namespace std;
	//Random number generator, number is different each second. Super random numbers.
	// Seeds number generator with the time
	time_t qTime;				     
	time(&qTime);				// time function
	srand(qTime);				// pass time to srand
	//Declare
	fstream wins;				// Output file
	bool CardDeck[52];			// Deck of cards, 52 cards
	int ComputerCardCount = 0;	// Set card count to 0, computer
	int PlayerCardCount = 0;	// Set card count to 0, player
	int Player1CardCount = 0;	// Set card count to 0, Player 1 in two player
	int Player2CardCount = 0;	// Set card count to 0, player 2 in two player
	int ComputerHand[12];		// Computer cards, possable 12 random numbers
	int PlayerHand[12];			// Players 1 cards, possable 12 random numbers, anymore cards would bust
	int Player2Hand[12];		// Player 2 cards, possable 12 random numbers, anymore cards would bust
	char Player[15];			// Player 1's name
	char Player2[15];			// Player 2's name
	int WhatNow;				// Menu after hand weather to play again or exit
	int Choice;					// Main menu choice of single player, two player, or exit
	//Files
	wins.open("wins.dat");		//Open file, output file 
 |