Quote:
How do I make check for the winner (C++)
There is not magic way to check for winner. You have to check all the possibilities.
Take advantage of your knowledge: if winner, the last token is part of it.
Think of how you would do to manually check. Think mechanically.