std::system
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <cstdlib>
|
||
| int system( const char *command ); |
||
命令参数调用宿主环境的命令处理器。返回实现定义的值(通常被调用的程序返回的值).
Original:
Calls the host environment's command processor with command parameter. Returns implementation-defined value (usually the value that the invoked program returns).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
如果命令是NULL指针,主机环境的检查,如果有一个命令处理器,并返回非零值,只有当命令处理器.
Original:
If command is NULL pointer, checks if host environment has a command processor and returns nonzero value only if the command processor exists.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目录 |
[编辑] 参数
| command | - | 字符串确定要运行的命令在命令处理器。如果为NULL指针,命令处理器检查是否存在
Original: character string identifying the command to be run in the command processor. If NULL pointer is given, command processor is checked for existence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
实现定义的值。如果
command是NULL返回非零值,只有当命令处理程序存在.Original:
Implementation-defined value. If
command is NULL returns nonzero value only if command processor exists.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 为例
| 本节是不完整的 原因: no example |
[编辑] 另请参阅
| C documentation for system
|