Question: how to check if file exists in c programming?
Answer: char* filename = "C:\\temp\\test.txt";
int exist = cfileexists(filename);
if(exist)
printf("File %s exist",filename);
else.
printf("File %s does not exist",filename);