跳轉到內容
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Help
Browse
Cookbook
Wikijunior
Featured books
Recent changes
Random book
Using Wikibooks
Community
Reading room forum
Community portal
Bulletin Board
Help out!
Policies and guidelines
Contact us
Search
Search
Donations
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Discussion for this IP address
目錄
移至側邊欄
隱藏
開始
1
exit
切換目錄
C++ 程式設計/程式碼/標準 C 庫/函式/exit
Add languages
Add links
Book
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Sister projects
Wikipedia
Wikiversity
Wiktionary
Wikiquote
Wikisource
Wikinews
Wikivoyage
Commons
Wikidata
MediaWiki
Meta-Wiki
Print/export
Create a collection
Download as PDF
Printable version
In other projects
外觀
移至側邊欄
隱藏
來自華夏公益教科書,自由的教科書
<
C++ 程式設計
|
程式碼/標準 C 庫
|
函式
exit
[
編輯
|
編輯原始碼
]
語法
#include
<cstdlib>
void
exit
(
int
exit_code
);
exit() 函式停止程式。exit_code 被傳遞作為程式的返回值,其中通常零表示成功,非零表示錯誤。
相關主題
abort
-
atexit
-
system
類別
:
書籍:C++ 程式設計
華夏公益教科書