Posted by hussein on July 25, 1999 at 16:54:02:
In Reply to: REading in Directory tree from disk.. posted by Naveed on July 25, 1999 at 13:40:11:
: I'm kinda confused here.. what is the input to our
: program. I mean how are we goig to give the directory,
: or file names to our program to add to our tree. And
: secondly, if all that our program is getting as an input
: is a name of a file or a directory, how do we distinguish
: between the two.
the program will read these directly off the disk ...
plus it will figure out which ones are directories ...
all of this has already been done in the segment of code i wrote - u just have to create and manipulate the data structure. read thru dir.cc, dir.h and the sample program ...
---
hussein