here is my logic and explain me where i do wrong. I open the root directory. If i find another directory i print it and the call the print_rec subroutine for that directory, and i do this until i run out of dirs or files. What i don't get is how or where the print_rec function is returning after terminates execution for some particular directory
In reply to Re: Recursive Directory print
by zavo
in thread Recursive Directory print
by zavo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |