Home > Back-end >  C how to end the specified function
C how to end the specified function

Time:03-14

I use a () in the main; To run a function, and then a function to change the background color, if use directly return to return to the main function of the main background color will be affected, so I choose is a function in the main (); How to simulate the return to the main, that in the end of the first in the main the main function?

CodePudding user response:

C programming language of traditional thought first run the main is to represent the process of your application, so it means your program over over,
So it can't end,

CodePudding user response:

Regarding functions and processes, threads these things, I can only stick to delimit according to the operating system good trap, can't take it for granted,
Unless we start,

CodePudding user response:

I feel heavy planning process and should be handled, do not cross call cause logical confusion,

CodePudding user response:

refer to the second floor forever74 response:
about the functions and processes, and threads these things, I can only stick to delimit according to the operating system good trap, can't take it for granted,
Unless I own the stove

That how to change console background back to black

CodePudding user response:

How to set in the past have to how to set back, not by "not set" come back,

CodePudding user response:

Software inside the revocation mechanism, are behind the code support, not automatic,

CodePudding user response:

reference 4 floor control forever reply:
Quote: refer to the second floor forever74 response:
about functions and processes, and threads these things, I can only stick to delimit according to the operating system good trap, can't take it for granted,
Unless I own the stove

That how to change the console background back to black
I finished my work in the function a (), the return before returning to the main function, change the background color back,

CodePudding user response:

reference 4 floor control forever reply:
Quote: refer to the second floor forever74 response:
about functions and processes, and threads these things, I can only stick to delimit according to the operating system good trap, can't take it for granted,
Unless I own the stove

That how to change the console background back to black

System (" color F0 ");
  • Related