Thread: Accessing a directory

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    291

    Accessing a directory

    I've been studying the faq on this site - Accessing a directory and all the files within i . I do get one compiling error that I just cant seem to get rid of.

    Code:
      struct ffblk  finder;
    or just
    Code:
      ffblk  finder;
    The compiler keeps giving me 'ffblk undeclared'. So I must be missing a header file or something. I did copy\past the whole example from the faq but I still get the same error. Just for the record, Im using dev-c++ (mingw 3.2 I think).

    As a side note, is the any good webpage(s) that explain dir.h file and it's methods ?

    Appreciate any response.

  2. #2
    Registered User
    Join Date
    Oct 2002
    Posts
    291
    Thanks for your rely Salem. Out of curiosity do you know why the example doesnt work with dev-c++ ?

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    291
    Thank you sir

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. Couple errors please help :-D
    By JJJIrish05 in forum C Programming
    Replies: 9
    Last Post: 03-06-2008, 02:54 AM
  3. Accessing the 'home' directory path?
    By smoothdogg00 in forum C Programming
    Replies: 3
    Last Post: 04-30-2006, 10:51 AM
  4. Accessing a directory and all the files within it
    By misplaced in forum C++ Programming
    Replies: 2
    Last Post: 12-15-2004, 02:08 PM
  5. Replies: 6
    Last Post: 07-30-2003, 03:08 AM