C stdio 库
remove() 函数用于删除文件。
remove()
remove() 函数在 <stdio.h> 头文件中定义。
<stdio.h>
删除一个文件:
remove("filename.txt");
remove(const char * filename);
如果文件成功删除,则返回整数值 0。
0
如果发生错误,则返回非零 int 值。
int