#include <stdio.h>
int main ()
{
if( remove( "myfile.txt" ) != 0 )
perror( "Error deleting file" );
else
puts( "File successfully deleted" );
return 0;
}
Code Example |
---|
Cpp :: delete dynamic array c++ |
Cpp :: length of array in cpp |
Cpp :: c++ loop vector |
Cpp :: c++ triple |
Cpp :: cpp vector2 |
Cpp :: ue4 float to fstring |
Cpp :: time of a loop in c++ |
Cpp :: for loop c++ |
Cpp :: C++ Volume of a Cylinder |
Cpp :: how to sort in c++ |
Cpp :: opencv open image c++ |
Cpp :: c++ logger class example |
Cpp :: reverse order binary tree in c++ |
Cpp :: abs in cpp |
Cpp :: how to set a variable to infinity in c++ |
Cpp :: Palindrome String solution in c++ |
Cpp :: cpp func as const |
Cpp :: c++ map insert |
Cpp :: cpp class constructor |
Cpp :: convert int to string in c++ |
Cpp :: convert kelvin to Fahrenheit |
Cpp :: length of number c++ |
Cpp :: input full line as input in cpp |
Cpp :: c++ move semantics for `this` |
Cpp :: swap in cpp |
Cpp :: how to create a c++ templeate |
Cpp :: why do we use pointers in c++ |
Cpp :: install qpid broker in ubuntu/linux |
Cpp :: loop c++ |
Cpp :: how to check if vector is ordered c++ |