Ambitious contributor
15Feb2008,19:21   #11
imrantechi's Avatar
the main function basically takes care of the arguments passed at the command line .
it checks whether a /s is there or not if so it has to search all sub directories.

it further checks whether there is specific listing like .pdf or not
Ambitious contributor
15Feb2008,19:22   #12
imrantechi's Avatar
the display function merely takes care of displaying the details of the retrieved file in a particular format
Ambitious contributor
15Feb2008,19:24   #13
imrantechi's Avatar
the work of the walk folder is to find in a particular directory all the reset paths to be traversed and when the matched file is found it walks through it if it is a directory else it displays the details if it is a file.
Ambitious contributor
15Feb2008,19:25   #14
imrantechi's Avatar
i feel now you can understand the code easily
Go4Expert Founder
15Feb2008,21:36   #15
shabbir's Avatar
Quote:
Originally Posted by imrantechi
i think now you will be able to understand
Use code block when you have code snippets in posts
Contributor
26Feb2008,17:41   #16
lead.smart34's Avatar
its a nice article
Contributor
26Feb2008,17:42   #17
lead.smart34's Avatar
for _getch do we have to add something, becuse even after writting_getch, it give a warning
Ambitious contributor
6Mar2008,14:43   #18
parvez.yu's Avatar
can we list all the sub directories