2

Could I use gui for taking the input from the user and use console to print the output ? by other words, I mean could I mix both the windows or gui c++ with console application in one application ?

sara
  • 236
  • 1
  • 2
  • 14

2 Answers2

2

Yes you can, on linux it's will be almost from box on windows you must create console for application.What is your platform ?

sim
  • 736
  • 6
  • 14
2

You should start with a normal GUI application of your choice. Calling AllocConsole will then add a console window to your application.

nvoigt
  • 68,786
  • 25
  • 88
  • 134
  • 1
    Or you can start with a console application, and from there create any number of Windows. – Peter Dec 13 '13 at 17:48