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
  • 256
  • 1
  • 3
  • 15

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
  • 756
  • 6
  • 18
2

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

nvoigt
  • 75,013
  • 26
  • 93
  • 142
  • 1
    Or you can start with a console application, and from there create any number of Windows. – Peter Dec 13 '13 at 17:48