What is the best way to see if a file exist ?
I write this one but i canīt know if the file exist or if i canīt read it.
I can only use C99 Standard
Code:pFile = fopen(nomeFich, "rb"); // File Exist if (pFile != NULL) { // Doing my stuff here, create a list... fclose(pFile); return list; } else { puts("The file donīt exist or canīt be open); return NULL; }