Groups | Blog | Home
all groups > visual studio .net general > january 2006 >

visual studio .net general : Hello i am new to VC++...


thomas11john
1/7/2006 2:04:29 AM
Hello friends i am new to VC++ and so found this group.After going
through some of the posts i typed my first program and it ran,just
getting the inputs and displaying them,but when the last line is
executed it comes out of the DOS window,
http://web.sau.edu/LillisKevinM/C++Tutorial/dotNet/
i tried the eg from the above link and am not able to line"Press Any
key to continue"
so please tell me how to stay in the dos prompt until the user
specifies the exit
pvdg42
1/7/2006 10:37:14 AM

[quoted text, click to view]
For console apps (which appears to be what you are doing), use Debug->Start
without debugging to run your app. The IDE will automatically pause the
program just before termination so you can review the output.


--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

thomas11john
1/8/2006 10:34:33 AM
thanks mate
thomas11john
1/8/2006 10:36:28 AM
thanks mate for ur help
AddThis Social Bookmark Button