I am writing a wxWidgets GUI application, but it also uses some console objects.
I need a way to display stdout and access stdin; the best way to do this is to display the console as well as the graphical interface. This can be done if the user starts the program from the command line / shell, etc., but the command line does not open automatically to view stdout when the application starts.
I know this should be possible, because when you start the console application, the console starts automatically. I found one or two solutions that require the Windows API, but unfortunately my code must be cross-platform (I am developing this on Linux).
source share