Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

C++ Programming/Code/Standard C Library/Functions/exit

From Wikibooks, open books for an open world
<C++ Programming |Code/Standard C Library |Functions

exit

[edit |edit source]
Syntax
#include<cstdlib>voidexit(intexit_code);

The exit() function stops the program. exit_code is passed on to be the return value of the program, where usually zero indicates success and non-zero indicates an error.

Related topics
abort -atexit -system
Retrieved from "https://en.wikibooks.org/w/index.php?title=C%2B%2B_Programming/Code/Standard_C_Library/Functions/exit&oldid=3676326"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp