If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] Basic classes to develop console programs

I am fairly new to C++ programming and wish to start learning the language properly. Recently I have started to write some classes that allow me to create console programs. The issue I am having is that I can create a console window but it closes when I create another console window? It appears that only one console can be visible at a time. Could someone advise on how I can have 2 console windows open at a time?

Re: Basic classes to develop console programs

Looking into this and I have found that it's not possible to have more than one console per process so I have decided to only allow for one console window to be created. I am thinking that perhaps it's possible to open a messagebox box instead if I need to output text to another window.