...
Last edited on
You were asked in a previous thread to always use code tags.
Apparently that didn't sink in.
how do i make the program say who is the winner


For tic-tac-toe there are only a finite number of winning positions. One way is to have an array of winning positions and check current board against those. Another way is to have multiple if-statements. In either case you need to decide what is a winning board.

[In 3 days you haven't added to my previous code - and then ask for further help!]
http://www.cplusplus.com/forum/beginner/281236/

Topic archived. No new replies allowed.