Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c check if file was created

int canCreateFile(char* path)
{
	FILE* file = fopen(path, "w");
  	if(file)
    {
  		fclose(file);
      	return 1;
    }
  	return 0;
}
 
PREVIOUS NEXT
Tagged: #check #file #created
ADD COMMENT
Topic
Name
6+7 =