Help: Console window disappears immediately when running in VS.net IDE

1 view
Skip to first unread message

chen yinghe

unread,
Feb 15, 2002, 10:11:59 AM2/15/02
to
Hi,

I just installed VS.net. I wrote a simple "hello world" console
application, after compiling and run the program, the command window
disppears immediately. I remember that in Visual C++ 6.0, the command
window will not disappear until I press any key. For sometimes I need
to view the result the program runs. I know that I can set break point
to view the result.

I am just wondering if I can make VS.net run the console
application just like the style in Visual C++ 6.0.

Thanks in advance.

Jochen Kalmbach

unread,
Feb 15, 2002, 10:16:38 AM2/15/02
to

It IS the same behaviour than in VC6...

If you run the program with F5 (start with debugger), it will dispapear
after it is finished

If you run the program with Ctrl-F5 (start without debugger), it will wait
until a key is pressed...


Greetings
Jochen


nwlink.newsgroups

unread,
Feb 15, 2002, 11:00:07 PM2/15/02
to
That is by design. In VC6 most people just clicked on the "!" exlamation
mark icon to run and that is the what caused the "press any key to continue"
message to appear. In VC7 you have to add the icon to the toolbar if you
want it, or you can just press CTRL + F5. I added the icon back to the
toolbar, but that is just me.

"chen yinghe" <che...@cet.st.com.sg> wrote in message
news:6dd8d3cf.02021...@posting.google.com...

Reply all
Reply to author
Forward
0 new messages