Search a file and return path to it in c++ linux

  c++, file, linux, path, search

Exist there a function where i can search a file and the program return the path to it in c++ on linux?
I tried with dirent.h but i don’t know how to get the path in that recursive search.
Thanks!

Source: Windows Questions C++

LEAVE A COMMENT