删除文件

#include <stdio.h>
int main()
{ 
if(remove("1.txt")) 
printf("Could not delete the file &s \n","1.txt"); 
else printf("OK \n");
return 0;
}

 

posted @ 2017-08-27 17:00  Dsp Tian  阅读(362)  评论(0编辑  收藏  举报