[cs13001] Question
Mikhail Nesterenko
mikhail at cs.kent.edu
Mon Feb 4 23:01:07 EST 2013
Mikhail Nesterenko wrote:
>
> >
> > I noticed after you input something in a program it pops up and closes the
> > console window. Is there a way to keep the window open until you hit enter
> > and if so what is the code you would write for that?
> >
>
> The recommended way to do it is to create a breakpoint on the last
> line of your program. See information on breakpoints on the lab's website:
>
> http://www.cs.kent.edu/~mikhail/classes/csi.s13/Labs/MSVS/debugging.html
>
> Or just right-click on the last line and select "run to cursor".
>
One of the students just pointed out that there is an even more
straightforward way of suspending the program before the last line is
executed.
Press Ctrl+F5 to run the program.
Thanks,
--
Mikhail
More information about the cs13001
mailing list