I have created a Tic Tac Toe program in C++ playable against the computer. At present my interface is something like you have to chose a number from 1-9 which corresponds to the location you can make your turn on. I want to change this to a clickable graphic interface. What are my options to do these? Some tutorial links would be extremely helpful. I'm using windows 7

有帮助吗?

解决方案

I recommend Qt for implementing Graphical User Interfaces in C++.

See more here: http://doc.qt.io/archives/qt-4.8/qt-declarative-toys-tic-tac-toe-example.html

其他提示

what compiler/IDE you are using.if it is visual studio then you beter go for native C/C++ APIs provided by windows you can get help to find th APIs at msdn.microsoft.com or even you can install MSDN on your machine.its better to start with native APIs rather than starting with qt on windows you may face many troubles installing qt.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top