system and dos window
Posted on 2005-05-16
i am programming with C++ under DevC++. I am using some .exe files which are compiled with cygwin. Everything works good, and the Problem is: when I call the .exe file with system("file.exe") it runs the dos window, does what he should do, and the dos window disapear. Sometimes i want to see what happens, so I need the dos window open.
I tried :
this way it appear another dos window which stopps the other(first) window, BUT i cant read what is in the first dos window.
thanks for your help.