README 290 B

12345678910111213141516
  1. This pair of .cpp and .php programs demonstrate the use of pathinfo.
  2. To compile:
  3. make
  4. To run C++
  5. ./example
  6. To run php:
  7. php example.php
  8. To run test:
  9. ./example > c++_output.txt
  10. php example.php > php_output.txt
  11. # should find 0 differences
  12. diff c++_output.txt php_output.txt