0
imrantechi's Avatar, Join Date: Feb 2008
Ambitious contributor
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
0
imrantechi's Avatar, Join Date: Feb 2008
Ambitious contributor
the display function merely takes care of displaying the details of the retrieved file in a particular format
0
imrantechi's Avatar, Join Date: Feb 2008
Ambitious contributor
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.
0
imrantechi's Avatar, Join Date: Feb 2008
Ambitious contributor
i feel now you can understand the code easily
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by imrantechi
i think now you will be able to understand
Use code block when you have code snippets in posts
0
lead.smart34's Avatar, Join Date: Feb 2008
Contributor
its a nice article
0
lead.smart34's Avatar, Join Date: Feb 2008
Contributor
for _getch do we have to add something, becuse even after writting_getch, it give a warning
0
parvez.yu's Avatar, Join Date: Feb 2008
Ambitious contributor
can we list all the sub directories