#include <iostream>
#include <Windows.h>
#include <fstream>
#include <sstream>
using namespace std;
int main()
{
FILE * fp;
int flag = 0;
char * tmp;
static char tmpstr[1024];
if ((fp = fopen("temp.txt", "r")) == NULL)
{
cout << "temp.txt doesn‘t exist" << endl;
}
else
{
fclose(fp);
system("DEL /f temp.txt");
cout <<"Delete info.txt and temp.txt Sucessful !" <<endl;
system("pause");
}
return 0;
}