Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The latest version of this topic can be found at Additional Termination Considerations.
You can terminate a C++ program by using exit, return
, or abort. You can add exit processing using the atexit
function. These are discussed in the following sections.