Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

eliminare file in c

#include<stdlib.h>
#include<stdio.h>

int main() {
  int res;

  res=remove("x");
  if( res!=0 )
    perror("Errore nella rimozione del file");

  return 0;
}
 
PREVIOUS NEXT
Tagged: #eliminare #file
ADD COMMENT
Topic
Name
4+6 =