jalec 13020d0872 libigl.a and mosek/tetgen extras compile on redhat (with some warnings and removed deprecations), static library makefile for anttweakbar há 13 anos atrás
..
Makefile 13020d0872 libigl.a and mosek/tetgen extras compile on redhat (with some warnings and removed deprecations), static library makefile for anttweakbar há 13 anos atrás
README 8fc2d636da Added more php-like file permissions/existence checkers. And an example which tests them against their php cousins. há 13 anos atrás
example.cpp bd4d115fea major reorganization of directory structure há 13 anos atrás
example.php 8fc2d636da Added more php-like file permissions/existence checkers. And an example which tests them against their php cousins. há 13 anos atrás

README

This is a simple example program that shows how to use the is_dir, is_file,
file_exists, is_readable, is_writable, functions of the igl library


To Build:
make

To Run:
./example [path_1] [path_2] ... [path_n]

Example Run #1:
Issuing:
touch not-writable
touch not-readable
chmod u-r not-readable
chmod u-w not-writable
./example / . .. example.cpp non-existant-file not-readable not-writable > output
php example.php / . .. example.cpp non-existant-file not-readable not-writable > php-output
diff php-output output
should produce no differences