[\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
KI-Zusammenfassung: 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.
Quellcode
int Check_File(char *FileName)
{
ifstream FileL;
FileL.open(FileName);
if(!FileL)
{
FileL.close();
return -1;
}
else
{
FileL.close();
return 0;
}
}
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine