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.
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
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.