Files
igl/examples/pathinfo/README
T
jalec 2b762bbc9d changed interfaces of read*.h to return bool,
added php-like pathinfo, dirname, basename functions,
pathinfo example
2011-09-18 13:16:31 +00:00

17 lines
290 B
Plaintext

This pair of .cpp and .php programs demonstrate the use of pathinfo.
To compile:
make
To run C++
./example
To run php:
php example.php
To run test:
./example > c++_output.txt
php example.php > php_output.txt
# should find 0 differences
diff c++_output.txt php_output.txt