simDoesFileExist

Indicates whether a file exists.

C++ synopsis

int simDoesFileExist(const char* filename)

Arguments

  • filename: The filename extension is required

Return

  • 1 if the filename exists, 0 if it does not exist, or -1 in case of an error