Skip to content

Instantly share code, notes, and snippets.

@moebiussurfing
Created February 11, 2020 05:10
Show Gist options
  • Save moebiussurfing/4180fd8b8cda269c298104c92dddbf54 to your computer and use it in GitHub Desktop.
Save moebiussurfing/4180fd8b8cda269c298104c92dddbf54 to your computer and use it in GitHub Desktop.
openFrameworks - check if file exists
ofFile file(path);
if (file.exists())
{
}
else
{
ofLogError("ofApp") << "loadSettings '" << path << "' NOT FOUND!";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment