March 22nd, 2003, 06:44 PM
Why is the output on xp not staying up...
when i compile and run, the output stays on my screen for less than a sec,
i tried a pause command or get command but the damn window wont stay up, i have xp-pro...
anyone know how i keep the output to dos up so i can see the output lol
March 22nd, 2003, 06:57 PM
We would need to know more about what you're trying to do.
I assume that you have written a console app in something like Visual C++, then told Visual C++ to run it.
What I do is open a DOS window (actually, that's the first thing I do after I log on). cd to the directory where the .exe file will be (in Visual C++, this will be the Debug directory under the project directory). Then I build the app in Visual C++, but I run it in the DOS window.
Of course, debugging can be a bit of a pain doing it that way.
March 22nd, 2003, 07:48 PM
i noticed that in visual studio.net, if u do a real simple program like a hello world, and then select start w/ debugging it will just flash the output for a second orless. dont know if that's what ur using??
March 23rd, 2003, 03:21 PM
You app finished its job and “Pressed any key” automatically…
You may prevent it by using ‘system pause’ at the end of your app.
March 26th, 2003, 02:49 AM
here is the code from Dev C++'s template
PHP is fun
March 26th, 2003, 07:17 AM
Or by putting a breakpoint on the last line of main