Sunday, July 26, 2009

C code to seach for files and directory?

Can any one tell me if there are any functions in C to seach for a file and directory...


It should take wild characters...


Plz help

C code to seach for files and directory?
Yes there are 2 functions actually FindFirstFile and FindNextFile look them up in MSDN. These are the 2 primary functions that are used to parsing out a file structure in windows. Now the searching you talking about is it like the one you get when you hit F3. Well you will have to use the 2 above functions recursively to find the files and show them to the user.Good Luck.


No comments:

Post a Comment