Hello! I am a beginner at c++ and want to create a tic tac toe game using stacks. So, I am very much in need of an example of code for tic tac toe with stacks, or at least a piece of advice since I am totally lost.

While it may not use stacks you can find over 55 implementations of Tic-Tac-Toe at https://rosettacode.org/wiki/Tic-tac-toe so I'm going to say you have a lot of examples all in one place to look over.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.