[\File Exist Algorithms/]
This function will check to see if a file exist in the computer if it doesnt it will return -1 else 0.
AI
Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Codice sorgente
int Check_File(char *FileName)
{
ifstream FileL;
FileL.open(FileName);
if(!FileL)
{
FileL.close();
return -1;
}
else
{
FileL.close();
return 0;
}
}
Commenti originali (3)
Recuperato da Wayback Machine