Opening a Second Console Window

Is it possible to open a second console window within a program?

Thanks in advance,
CheesyBeefy
System is evil. hehehe.

system("START CMD");
Not necessarily the CMD window, but a second BLANK console window that I can output separate things into as well.
Hum. I am not exactly sure myself.. hehe...I would probably tackle this problem by creating a second program, and the main would take in some parameter. Then just output that parameter.

Then in the first program, you would just open that program as above with some parameter system("output.exe Hello World");

But I wouldn't bother with that much man. Like we would ever need to open a second CMD window, or program in console. lolz. Just study a little longer then we can goes straight to Win API. hehe. gl
Last edited on
If you are on windows (I think it's windows only but I'm not sure), you could try AllocConsole() and the related functions.
But I wouldn't bother with that much man. Like we would ever need to open a second CMD window, or program in console. lolz. Just study a little longer then we can goes straight to Win API. hehe. gl


Some programmers prefer console. And there's a good reason for that.
Hehehe...I suppose there is a good reason for everything...
Topic archived. No new replies allowed.