If there is file1.txt in current directory, rm -f file1.txtCode:#include "stdio.h"
#include "stdlib.h"
int main()
{
system("rm -f file1.txt");
return 0;
}
if there isn't file1.txt, error occurs:"Could not Find file1.txt"
How to solve this bug?
How to add code to correct this bug?