[HELP] C++ algorithm for finding files

I have to write console C++ program which finds specific file under C:.
File name with its extension should be written in standard input, and the program should show its location (first one, I'm not interested in others if there is more than one).

If someone knows the algorithm or some library which I could use, please post the answer here.
If you are on the windows platform look up FindFirstFile() on MSDN. If you want portability then check out boost::filesystem
Topic archived. No new replies allowed.