Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Win32 (http://www.go4expert.com/articles/win32-tutorials/)
-   -   Listing directories and sub directories (http://www.go4expert.com/articles/listing-directories-sub-directories-t8775/)

imrantechi 15Feb2008 19:21

Re: Listing directories and sub directories
 
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

imrantechi 15Feb2008 19:22

Re: Listing directories and sub directories
 
the display function merely takes care of displaying the details of the retrieved file in a particular format

imrantechi 15Feb2008 19:24

Re: Listing directories and sub directories
 
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.

imrantechi 15Feb2008 19:25

Re: Listing directories and sub directories
 
i feel now you can understand the code easily

shabbir 15Feb2008 21:36

Re: Listing directories and sub directories
 
Quote:

Originally Posted by imrantechi
i think now you will be able to understand

Use code block when you have code snippets in posts

lead.smart34 26Feb2008 17:41

Re: Listing directories and sub directories
 
its a nice article

lead.smart34 26Feb2008 17:42

Re: Listing directories and sub directories
 
for _getch do we have to add something, becuse even after writting_getch, it give a warning

parvez.yu 6Mar2008 14:43

Re: Listing directories and sub directories
 
can we list all the sub directories


All times are GMT +5.5. The time now is 11:17.