In my program, I am currently trying to store a string from an array into another array so I can then have that saved to output later.
if(score1 == 3)
{
printf("\n\n%s adavances to the next round!",names[i]);
strncpy(winner[i], names[i], 10);
printf("\n\nPress Enter to Continue");
getch();
system("cls");
break;
That is currently how I am trying to store the array
for(p = 0; p > 8; p++)
{
for(c = 0; c > 8; c++)
{
printf("%c",winner[p][c]);
}
}
And that is how i am currently trying to output the array, but when i get to the screen with the output nothing is happening.