📅  最后修改于: 2022-03-11 14:44:50.946000             🧑  作者: Mango
#include
#include
using namespace std;
int main()
{
intstatus;
char fileName[20];
cout<<"Enter the Name of File: ";
cin>>fileName;
status = remove(fileName);
if(status==0)
cout<<"\nFile Deleted Successfully!";
else
cout<<"\nError Occurred!";
cout<