Thread: Recursively search for a file.

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    14

    Recursively search for a file.

    How do I search directories recursively, from my current directory, in C ? Having trouble finding solution online...please help.

    I am on Linux, using GCC.
    thanks!

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    What specifically are you having problems with? Did you read the FAQ on viewing files/directories?


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    14
    Quote Originally Posted by quzah View Post
    What specifically are you having problems with? Did you read the FAQ on viewing files/directories?


    Quzah.

    You're right, found ith ere: Cprogramming.com FAQ > Accessing a directory and all the files within it

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  2. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM