0

How to close the program when it s running in the cmd?

Is there any lines to code that let me close the program by a press of a button or by writing specific input? And is there a thing called exit condition?

16th Feb 2017, 5:13 PM
El Mokni MedAmin
El Mokni MedAmin - avatar
2 Antworten
+ 5
Ctrl+C ☺
16th Feb 2017, 6:36 PM
Jihad Naji
Jihad Naji - avatar
+ 1
I think ctrl + C will do the trick on windows. ctrl + C terminates the running program on cmd prompt.
16th Feb 2017, 6:38 PM
Varun Moghe
Varun Moghe - avatar