#include "basefunctions.h"


void cleanupTransactions(bool** &transactions, ArrayInfo2D arrayInfo)
{
	bool *currentPointer;
	for (int i = 0; i < arrayInfo.sizeI; i++)
	{
		currentPointer = transactions[i];

		delete[] currentPointer;
	}

	delete[] transactions;
	transactions = NULL;
}



void clearScreen(bool pauseFirst)
{
	if (pauseFirst)
		pause();

	system("cls");
}


void pause()
{
	system("pause");
}