> cout << winner << "'s won!\n";
If you were hoping to call this function, then you needcout << winner(someParameter) << "'s won!\n";
> what do you mean by "split main () up into more functions."
I mean, it's 300 or so lines long and it just waders from one aspect of the problem to the next.
My personal rule of thumb is that if you can't see the start { and end } of the whole screen at once, then it's time to think about splitting the function into something more manageable.
i still doesn't get it work.
when i play it, it said the row is already fill.