Startup and Termination (C++)
The latest version of this topic can be found at Startup and Termination (C++).
Program startup and termination are facilitated by using two functions: main and exit. Other startup and termination code may be executed.