Dave Marshall

Resultados 1 preguntas formuladas por Dave Marshall

¿Existe una manera mejor que simplemente intentar abrir el archivo? int exists(const char *fname) { FILE *file; if ((file = fopen(fname, "r"))) { fclose(file); return 1; } return 0; }