Questions tagged [quit]
156 questions
-2
votes
2 answers
Python: while loop that quits program if not completed within specified limit
Python Question: i need to run a program that asks for a password but if the wrong answer is input three times the user is thrown out of the program i can run it in a while loop but cant get it to quit if the wrong password is entered.
Thanks for…

EWG
- 7
-2
votes
1 answer
How to enter 'quit' to close progrom
I need help with closing the program by entering 'quit'
for example.
while(true)
{
cout << "enter a name" << endl;
std::getline (std::cin,input);
if(input =='quit')
{
break;
}
}
it is not breaking out or quiting, also how come you…

V Kid
- 117
- 4
- 12
-2
votes
3 answers
"Only assignment, call, increment, decrement, and new object expressions can be used as a statement"
I am getting this error in my code for a c# console application
case 5:
Console.WriteLine("User selected to Quit, option " + response);
Environment.Exit;
break;
// Error Only assignment, call, increment, decrement, and new object…

Julia Rundle
- 9
- 1
- 1
- 3
-3
votes
2 answers
is there a way to disable force quit while applescript application is still running?
i made a fake virus to try on my friends :P But i was wondering if there is a code that disables the command-option-escape feature until the application finishes. I just want them to experience the whole process of my experiment without them force…
user4060984
-3
votes
2 answers
Quit app every time you exit iOS
I want my app to be "restarted" every time I close it. When I open another app or quit the app, and launch it again, it should start at the beginning again. So it's always up to date.
Hope you understand what I mean.

eplefrik
- 73
- 6
-4
votes
1 answer
how to quit firefox by using extensions quit firefox
I'm not familiar with firefox extensions.Now I want to write an extension to quit firefox. How to quit firefox by using extensions?Could someone help me?Thanks!

user2507405
- 27
- 1
- 4