searching a directory

This is a discussion on searching a directory within the C++ Programming forums, part of the General Programming Boards category; Is there a predefined function to search for files with certain extentions on a computer directory by directory and then ...

  1. #1
    Unregistered
    Guest

    searching a directory

    Is there a predefined function to search for files with certain extentions on a computer directory by directory and then open them for editing?

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Look up FindFirst() and FindNext() in dir.h (I believe).
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Unregistered
    Guest
    I'm using MS Visual C++ 6.0 and it says dir.h does not exist.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Couple errors please help :-D
    By JJJIrish05 in forum C Programming
    Replies: 9
    Last Post: 03-06-2008, 01:54 AM
  2. Searching files in a directory
    By glopv2 in forum C Programming
    Replies: 2
    Last Post: 07-26-2007, 07:01 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. Visual C++ 2005 linking and file sizes
    By Rune Hunter in forum C++ Programming
    Replies: 2
    Last Post: 11-12-2005, 09:41 PM
  5. searching files in directory
    By lobo in forum Windows Programming
    Replies: 5
    Last Post: 10-05-2001, 03:00 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21