server.cpp
/***********************************************************
/ Checks to see if file exists, then deletes existing file
/ @param fileName: output text file name
/**********************************************************/
Checks to see if file exists, then deletes existing file
Checks to see if file exists then deletes existing file
void deleteFile(char fileName[])
{
	ifstream iFile(fileName);
	if(iFile)
	{
		remove(fileName);
	}
}
void deleteFile ( char fileName [ ] ) { ifstream iFile ( fileName ) ; if ( iFile ) { remove ( fileName ) ; } }
Checks to see if file exists, then deletes existing file
Checks to see if file exists then deletes existing file