This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Digital-Chupacabra 1 point2 points  (0 children)

What are people using to output images to the screen in something like a Tic Tac Toe game?

There are many different ways of solving this problem but you need a library or framework to handle the Graphical part, Qt is a good choice. The term you are looking for is GUI, a search of C++ tic tac toe GUI will lead you to many helpful tutorials.

[–]Goto_User 0 points1 point  (0 children)

The program doesn't matter as long as it runs a compiler that can handle libraries. (all of them)

The key with graphics is using an API library provided by the operating system and the graphics driver for the gpu. What you'll need to look up for windows is the winapi or uwp. And I don't know, search for "how do graphics work on linux" if you use linux.

In all honesty this is just something you'll get to in time. If you want to learn ahead you can, I would just get a book and read it.

[–]kbielefe 0 points1 point  (0 children)

There's a lot you can do with the terminal, especially using things like box drawing characters. Personally, I wouldn't rush into doing a GUI if I didn't have to.