Stoping VS2005 from closing the damn console window

Adam D. Ruppe destructionator at gmail.com
Thu Apr 9 10:05:30 PDT 2009


On Thu, Apr 09, 2009 at 12:53:12PM -0400, Andrej M. wrote:
> I'm trying to get VS 2005 to stop closing the command window when I'm running examples from the "Learn to tango with D" book. (I'm using that VS plugin from Dsource.org)

Stick another Cin.get(); at the end of the code. That way, it will pause
for you to press another key before terminating, giving you a chance
to look over the output.

I think there is an option in the console window to keep it open too,
somewhere in right click its taskbar icon, hit edit->properties and look
under those tabs for the checkbox, but I'm not sure if that is actually
there anymore.

Just getting another line of user input at the end of the program will
work though.


-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list