README 394 B

123456789101112131415161718
  1. This is a simple example program that shows how to use the is_dir function of
  2. is_dir.h in the igl library.
  3. To Build:
  4. make
  5. To Run:
  6. ./example [path_1] [path_2] ... [path_n]
  7. Example Run #1:
  8. Issuing:
  9. ./example . .. example.cpp non-existant-file
  10. should produce:
  11. is_dir(.) --> TRUE
  12. is_dir(..) --> TRUE
  13. is_dir(example.cpp) --> FALSE
  14. is_dir(non-existant-file) --> FALSE