Главная страница | назад





Article #15632: Myterious closing DOS boxes.

 Question and Answer Database
FAQ632C.txt Myterious closing DOS boxes.
Category :IDE
Platform :Win95/NT
Product : BC++4.5x BC++5.x C++Builder1.0 C++Builder3.x
Question:
When I run my Dos program from within the IDE, the program flashes
up really quick and than goes away.
It is very difficult to see my output. What can I do?
Answer:
Windows automatically closes spawned DOS apps when they finish
execution. Here are two ways to get around this:
1) Put a line in you program (ie: getchar()) to stop the
execution of the program untill you enter input.
2) run your program from a DOS box.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99