Skip to content

Instantly share code, notes, and snippets.

@tado
Created February 8, 2018 02:45
Show Gist options
  • Select an option

  • Save tado/da4e6a59171b184756e6b2a06e6b81f7 to your computer and use it in GitHub Desktop.

Select an option

Save tado/da4e6a59171b184756e6b2a06e6b81f7 to your computer and use it in GitHub Desktop.
Count file number and loop by openFrameworks
ofDirectory dir("hoo");
for (int i = 0; i < dir.getFiles().size(); i++){
//do something
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment