I’m looking into developing a text based game about cyber security akin to hackRUN or uplink but I have no experience with GUI programming and I doubt anyone in my family would want to learn how to make and run a .cpp file. So I need to create a GUI featuring a custom command-line akin to Linux or windows “cmd”. Is there any resources available in that area?
I’m looking into developing a text based game about cyber security akin to hackRUN
Share
You can create a textbox control that’s the size of the entire window, and customize it to make it look like a console. For example, set the background to black, the color of the letters to white, etc.
How you create that textbox depends on what UI framework you’re using. For C++ there’s MFC or the managed WinForms, or you could create the UI part in C# using WPF and use C++/CLI as a bridge between C++ and C#. But if you want to make it work on both Windows and Linux you can use wxWidgets or Qt.