std::remove
来自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 <cstdio>
|
||
| int remove( const char *fname ); |
||
删除该文件所指向的字符串确定
fname.Original:
Deletes the file identified by character string pointed to by
fname.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.
目录 |
[编辑] 参数
| fname | - | 指针指向一个空结束的字符串,该字符串包含要删除的文件的路径识别
Original: pointer to a null-terminated string containing the path identifying the file to delete The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
0成功或错误非零值时.
Original:
0 upon success or non-zero value on error.
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 |
[编辑] 另请参阅
| 重命名文件 Original: renames a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| C documentation for remove
| |