I have been working on this program for quite some time and I have gotten it to compile and execute but I am getting a
Debug error - Runtime Check Failure #2 Stack around the variable 'fllottery_numbers was corrupted.
the only function that has 'fllottery_numbers is the function below.
Can anyone help with resolving this issue.
Thanks for your time and patience.
void Lottery::displayLottery()
{
int fllottery_numbers[6];
flLotteryDraw(fllottery_numbers);
for (int j = 0; j < 6; j++)
{
cout << fllottery_numbers[j] << " " << endl;
}
}