Computer Hope

Microsoft => Microsoft DOS => Topic started by: Mjakes on March 26, 2008, 07:49:48 AM

Title: Reading the output file from Command Prompt window
Post by: Mjakes on March 26, 2008, 07:49:48 AM
RE: Using Dec-C++ compiler on Windows XP

I need help with configuring or setting up the output directory so as I can read the output file after compiling a program.

What happens is that after successfully compiling a project the output window does appear briefly but dissappears so I can't therefore see the results of the project I am busy with

How do I make the output window stay without dissappearing?

Thank you
Title: Re: Reading the output file from Command Prompt window
Post by: devcom on March 26, 2008, 09:28:40 AM
in DOS its pause or pause >nul but if you want to pause in C++ i think its getchar(); or sth