Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

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

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

system

[edit |edit source]
Syntax
#include<cstdlib>intsystem(constchar*command);

The system() function runs the given command by passing it to the default command interpreter.

The return value is usually zero if the command executed without errors. If command isNULL, system() will test to see if there is a command interpreter available. Non-zero will be returned if there is a command interpreter available, zero if not.

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

[8]ページ先頭

©2009-2025 Movatter.jp