codice:
if( remove( "C:\\Nomefile.txt" ) == -1 )
	cout << "Errore" << endl ;
else
	cout << "File eliminato" << endl;