Horje
c++ remove text file Code Example
c++ remove text file
#include <stdio.h>

int main ()
{
  if( remove( "myfile.txt" ) != 0 )
    perror( "Error deleting file" );
  else
    puts( "File successfully deleted" );
  return 0;
}




Cpp

Related
how to get size of 2d vector in c++ Code Example how to get size of 2d vector in c++ Code Example
how to find 2d vector length cpp Code Example how to find 2d vector length cpp Code Example
c++ clear char array Code Example c++ clear char array Code Example
how to print in new lines in  C++ Code Example how to print in new lines in C++ Code Example
terminal compile c++ Code Example terminal compile c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9