Q:
i just started learning about writing in c .....how do i get the dos
window to stay open after my programs done
A:
Do not stop the program, but make it sleep calling the system function
sleep at the end of the code.
Or start the program from a Batch file that has command
pause
after the program was executed.
Regards,
Peter
[ back to toc ]