hey guys, i have to develop a program which will search for files using their names and extension as an option. any idea of how to start or what do i need to know.


thanks in advance.

Recommended Answers

All 3 Replies

Look up and learn the file/directory commands that your compiler or OS use. An example would be something like the functions findfirst() and findnext() available in some compilers.

thanks for your help. i did some research about them and found that i can also use findfilefirst() function and others, but i couldnt find any examples on how to use them. can you please give me a sample code or tell me where i can find one if you know?

Check the documentation for your compiler. That's the best place.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.