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
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.