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,