ms visual C++ 6.0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I'm practising and running simple programs in C++, only after it's run, the
output window disapears. How can I watch the resualts? thanks,
Hezy.
 
ניר said:
Hello,
I'm practising and running simple programs in C++, only after it's run, the
output window disapears. How can I watch the resualts? thanks,
Hezy.

Hi Hezy!

The easiest way to do this would be to prompt for some input before your
program ends. For instance, you could call getch().

Regards,

Carlos
 
??? said:
I'm practising and running simple programs in C++, only after it's run,
the
output window disapears. How can I watch the resualts? thanks,

If you don't want to instrument your executable, you can open a command
prompt and "cd" to the release or debug directory of your project. Then
after you build it, you just type its name at the prompt.

Regards,
Will
 
??? said:
Does one of the menus offer an option to do that (open the output
window...)?
It's been quite a while since I've used Visual Studio 6, but is there a
"Start Without Debugging" command available from the Debug menu? If so, run
your program using that command, and the output window will remain visible
for output inspection after the program ends.
 
Back
Top