Home > Back-end >  The program has quit, the return value is zero
The program has quit, the return value is zero

Time:03-24

In the kingdom of yesterday after two of the three questions are shows that the
If want to go to the toilet, really want to continue to see which wrong
Great god knows this situation, it is wrong or right
\ [figure on the Internet looking for] similar

CodePudding user response:

The post code

CodePudding user response:

If you press f5 began to compile

CodePudding user response:

reference 1st floor zhouqunhai response:
posted the code

The second, only remember problem _ the _ (: з) <)

CodePudding user response:

refer to the second floor qq_38834405 response:
if you press f5 began to compile

, I direct point, (? _?

CodePudding user response:

reference 4 floor qq_41769510 response:
Quote: refer to the second floor qq_38834405 response:
if you press f5 began to compile

, I direct point, (? _?

Return 0 is the end of the run, but logic if you have any questions, the result is expected you think so

CodePudding user response:

reference 5 floor qq_38834405 reply:
Quote: refer to 4th floor qq_41769510 response:
Quote: refer to the second floor qq_38834405 response:
if you press f5 began to compile

, I direct point, (? _?

Return 0 is the end of the run, but logic if you have any questions, the results are expected you think it is not the

Ok,? _? , thanks!

CodePudding user response:

The situation I met with you, there would be no problem, Ctrl + F5 point execution will have a problem, want to know the reason!

CodePudding user response:

I is why QAQ

CodePudding user response:

. What is the problem...
Familiar with your own IDE, first to do a good job, must first sharpen his device, all of you are still in the process of tool
In simple terms, F5 is put your exe a console (consle), is a Windows CMD, you stick figure, it means the finished program execution, the return value is zero, because the console window after the program is closed, so if you want to or closed, just before the return code, add
 
system("pause");
return 0;
  • Related